Image processor

ABSTRACT

The present invention relates to a picture processing apparatus that allows detection of an area in which a plurality of objects, such as a background picture and a picture of a moving object, is mixed. A background picture generation unit  121  generates a background picture based on picture data. A binary object picture extraction unit  121  detects a correlation value between each pixel in picture data of a frame under consideration and a pixel in the background picture at a position corresponding to the pixel in the picture data of the frame under consideration. A temporal change detection unit  123  detects a mixed area in the frame under consideration, in which a plurality of real-world objects is mixed, based on a temporal change of the correlation value at each pixel position. The present invention can be applied to a picture processing apparatus that takes difference between a signal detected by a sensor and the real world into consideration.

TECHNICAL FIELD

[0001] The present invention relates to picture processing apparatuses, and more particularly to a picture processing apparatus that takes difference between a signal detected by a sensor and the real world into consideration.

BACKGROUND ART

[0002] The techniques of detecting events in the real world by sensors and processing sampling data output by the sensors, such as data associated with pictures, speech, temperature, pressure, acceleration, or odor, are widely used.

[0003] For example, a picture acquired by imaging an object moving in front of a predetermined still background using a video camera is subject to motion blurring if the velocity of the movement of the object is faster than the shutter speed.

[0004] When an object moves in front of a still background, in addition to motion blurring caused by mixing of pictures of the moving object itself, mixing of a background picture and a picture of the moving object also occurs.

[0005] Consideration has not hitherto been given to detection of an area in which a background picture and a picture of a moving object are mixed.

DISCLOSURE OF INVENTION

[0006] The present invention has been made in view of the above, and an object thereof is to allow detection of an area in which a plurality of objects, such as a background picture and a picture of a moving object, is mixed.

[0007] A first picture processing apparatus according to the present invention includes background picture generation means for generating a background picture based on picture data; correlation value detection means for detecting a correlation value between each pixel in picture data of a frame under consideration and a pixel in the background picture at a position corresponding to the pixel in the picture data of the frame under consideration; and mixed area detection means for detecting a mixed area in the frame under consideration, in which a plurality of real-world objects is mixed, based on a temporal change of the correlation value at each pixel position.

[0008] The correlation value detection means may detect the correlation value based on pixels surrounding a pixel under consideration in the picture data of the frame under consideration and pixels in the background picture at positions corresponding to the surrounding pixels.

[0009] The correlation value detection means may detect, as the correlation value, a differential value between pixels surrounding a pixel under consideration in the picture data of the frame under consideration and pixels in the background picture at positions corresponding to the surrounding pixels.

[0010] The picture processing apparatus may further include binarization means for binarizing the correlation value by comparing the correlation value with a threshold value, so that the mixed area detection means detects the mixed area in the frame under consideration based on the binarized correlation value.

[0011] The mixed area detection means may further detect a covered background area or an uncovered background area based on a temporal change of the correlation value at each pixel position.

[0012] The picture processing apparatus may further include mixing ratio detection means for detecting a mixing ratio by which the plurality of objects is mixed in the detected mixed area.

[0013] The picture processing apparatus may further include separation means for separating the objects based on the mixed area and the mixing ratio.

[0014] The picture processing apparatus may further include adjustment means for adjusting the amount of motion blurring included in the separated objects.

[0015] A first picture processing method according to the present invention includes a background picture generation step for generating a background picture based on picture data; a correlation value detection step for detecting a correlation value between each pixel in picture data of a frame under consideration and a pixel in the background picture at a position corresponding to the pixel in the picture data of the frame under consideration; and a mixed area detection step for detecting a mixed area in the frame under consideration, in which a plurality of real-world objects is mixed, based on a temporal change of the correlation value at each pixel position.

[0016] A program in a first recording medium according to the present invention includes a background picture generation step for generating a background picture based on picture data; a correlation value detection step for detecting a correlation value between each pixel in picture data of a frame under consideration and a pixel in the background picture at a position corresponding to the pixel in the picture data of the frame under consideration; and a mixed area detection step for detecting a mixed area in the frame under consideration, in which a plurality of real-world objects is mixed, based on a temporal change of the correlation value at each pixel position.

[0017] A second picture processing apparatus according to the present invention includes background picture generation means for generating a background picture based on picture data; correlation value detection means for detecting a correlation value between each pixel in picture data of each frame and a pixel in the background picture at a position corresponding to the pixel in the picture data of the frame; motion compensation means for motion-compensating, based on a motion vector of a frame in the vicinity of a frame under consideration, the correlation value of the frame in the vicinity of the frame under consideration; accumulation means for accumulating the correlation value of the frame under consideration and the correlation value of the frame in the vicinity of the frame under consideration, having been motion-compensated by the motion compensation means; and mixed area detection means for detecting a mixed area in the frame under consideration, in which a plurality of real-world objects is mixed, based on a temporal change of an output of the accumulation means at each pixel position.

[0018] The picture processing apparatus may further include motion vector detection means for detecting the motion vector.

[0019] The correlation value detection means may detect the correlation value based on pixels surrounding a pixel under consideration in the picture data of the frame under consideration and pixels in the background picture at positions corresponding to the surrounding pixels.

[0020] The correlation value detection means may detect, as the correlation value, a differential value between pixels surrounding a pixel under consideration in the picture data of the frame under consideration and pixels in the background picture at positions corresponding to the surrounding pixels.

[0021] The picture processing apparatus may further include binarization means for binarizing the correlation value by comparing the correlation value with a threshold value; and weighting means for weighting the binarized correlation value; so that the motion compensation means motion-compensates the binarized correlation value in the frame in the vicinity of the frame under consideration, and the accumulation means accumulates the correlation value of the frame in the vicinity of the frame under consideration, having been motion-compensated and weighted.

[0022] The mixed area detection means may further detect a covered background area or an uncovered background area based on a temporal change of the correlation value at each pixel position.

[0023] The picture processing apparatus may further include mixing ratio detection means for detecting a mixing ratio by which the plurality of objects is mixed in the detected mixed area.

[0024] The picture processing apparatus may further include separation means for separating the objects based on the mixed area and the mixing ratio.

[0025] The picture processing apparatus may further include adjustment means for adjusting the amount of motion blurring included in the separated objects.

[0026] A second picture processing method according to the present invention includes a background picture generation step for generating a background picture based on picture data; a correlation value detection step for detecting a correlation value between each pixel in picture data of each frame and a pixel in the background picture at a position corresponding to the pixel in the picture data of the frame; a motion compensation step for motion-compensating, based on a motion vector of a frame in the vicinity of a frame under consideration, the correlation value of the frame in the vicinity of the frame under consideration; an accumulation step for accumulating the correlation value of the frame under consideration and the correlation value of the frame in the vicinity of the frame under consideration, having been motion-compensated in the motion compensation step; and a mixed area detection step for detecting a mixed area in the frame under consideration, in which a plurality of real-world objects is mixed, based on a temporal change of an output in the accumulation step at each pixel position.

[0027] A program in a second recording medium according to the present invention includes a background picture generation step for generating a background picture based on picture data; a correlation value detection step for detecting a correlation value between each pixel in picture data of each frame and a pixel in the background picture at a position corresponding to the pixel in the picture data of the frame; a motion compensation step for motion-compensating, based on a motion vector of a frame in the vicinity of a frame under consideration, the correlation value of the frame in the vicinity of the frame under consideration; an accumulation step for accumulating the correlation value of the frame under consideration and the correlation value of the frame in the vicinity of the frame under consideration, having been motion-compensated in the motion compensation step; and a mixed area detection step for detecting a mixed area in the frame under consideration, in which a plurality of real-world objects is mixed, based on a temporal change of an output in the accumulation step at each pixel position.

[0028] An imaging apparatus according to the present invention includes means for outputting, as picture data made up of a predetermined number of pixel data, a picture of a target captured by an imaging device having the predetermined number of pixels each having a temporal integration effect; background picture generation means for generating a background picture based on the picture data; correlation value detection means for detecting a correlation value between each pixel in picture data of a frame under consideration and a pixel in the background picture at a position corresponding to the pixel in the picture data of the frame under consideration; and mixed area detection means for detecting a mixed area in the frame under consideration, in which a plurality of real-world objects is mixed, based on a temporal change of the correlation value at each pixel position.

[0029] The correlation value detection means may detect the correlation value based on pixels surrounding a pixel under consideration in the picture data of the frame under consideration and pixels in the background picture at positions corresponding to the surrounding pixels.

[0030] The correlation value detection means may detect, as the correlation value, a differential value between pixels surrounding a pixel under consideration in the picture data of the frame under consideration and pixels in the background picture at positions corresponding to the surrounding pixels.

[0031] The imaging apparatus may further include binarization means for binarizing the correlation value by comparing the correlation value with a threshold value, so that the mixed area detection means detects the mixed area in the frame under consideration based on the binarized correlation value.

[0032] The mixed area detection means may further detect a covered background area or an uncovered background area based on a temporal change of the correlation value at each pixel position.

[0033] The imaging apparatus may further include mixing ratio detection means for detecting a mixing ratio by which the plurality of objects is mixed in the detected mixed area.

[0034] The imaging apparatus may further include separation means for separating the objects based on the mixed area and the mixing ratio.

[0035] The imaging apparatus may further include adjustment means for adjusting the amount of motion blurring included in the separated objects.

BRIEF DESCRIPTION OF THE DRAWINGS

[0036]FIG. 1 is a diagram showing the principle of the present invention.

[0037]FIG. 2 is a block diagram showing an example construction of a system according to the present invention.

[0038]FIG. 3 is a block diagram showing an example construction of a signal processor in FIG. 2.

[0039]FIG. 4 is a block diagram showing a signal processor 12.

[0040]FIG. 5 shows imaging by a sensor.

[0041]FIG. 6 is a diagram showing an arrangement of pixels.

[0042]FIG. 7 is a diagram showing the operation of a detection device.

[0043]FIG. 8A shows a picture acquired by imaging an object corresponding to a moving foreground and an object corresponding to a still background.

[0044]FIG. 8B is a diagram showing a model associated with the picture acquired by imaging an object corresponding to a moving foreground and an object corresponding to a still background.

[0045]FIG. 9 is a diagram showing a background area, a foreground area, a mixed area, a covered background area, and an uncovered background area.

[0046]FIG. 10 is a model diagram in which the pixel values of pixels contiguously arranged in a line in a picture acquired by imaging an object corresponding to a still foreground and an object corresponding to a still are expanded along the temporal direction.

[0047]FIG. 11 is a model diagram in which pixel values are expanded along the temporal direction and in which a period corresponding to a shutter time is split.

[0048]FIG. 12 is a model diagram in which pixel values are expanded along the temporal direction and in which a period corresponding to a shutter time is split.

[0049]FIG. 13 is a model diagram in which pixel values are expanded along the temporal direction and in which a period corresponding to a shutter time is split.

[0050]FIG. 14 is a diagram showing an example of pixels extracted from a foreground area, a background area, and a mixed area.

[0051]FIG. 15 is a diagram showing the correspondence between pixels and a model in which pixel values are expanded along the temporal direction.

[0052]FIG. 16 is a model diagram in which pixel values are expanded along the temporal direction and in which a period corresponding to a shutter time is split.

[0053]FIG. 17 is a model diagram in which pixel values are expanded along the temporal direction and in which a period corresponding to a shutter time is split.

[0054]FIG. 18 is a model diagram in which pixel values are expanded along the temporal direction and in which a period corresponding to a shutter time is split.

[0055]FIG. 19 is a model diagram in which pixel values are expanded along the temporal direction and in which a period corresponding to a shutter time is split.

[0056]FIG. 20 is a model diagram in which pixel values are expanded along the temporal direction and in which a period corresponding to a shutter time is split.

[0057]FIG. 21 is a flowchart showing a process for adjusting the amount of motion blurring.

[0058]FIG. 22 is a block diagram showing a construction of an area specifying unit 103.

[0059]FIG. 23 is a model diagram in which pixel values are expanded along the temporal direction and in which a period corresponding to a shutter time is split.

[0060]FIG. 24 is a diagram showing an example background picture.

[0061]FIG. 25 is a block diagram showing a construction of a binary object picture extraction unit 122.

[0062]FIG. 26A is a diagram showing calculation of a correlation value.

[0063]FIG. 26B is a diagram showing calculation of a correlation value.

[0064]FIG. 27A is a diagram showing calculation of a correlation value.

[0065]FIG. 27B is a diagram showing calculation of a correlation value.

[0066]FIG. 28 is a diagram showing an example binary object picture.

[0067]FIG. 29 is a block diagram showing a construction of a temporal change detection unit 123.

[0068]FIG. 30 is a diagram showing a decision by an area decision unit 142.

[0069]FIG. 31 is a diagram showing an example decision by the temporal change detection unit 123.

[0070]FIG. 32 is a flowchart showing an area specifying process by the area specifying unit 103.

[0071]FIG. 33 is a flowchart showing the details of an area decision process.

[0072]FIG. 34 is a block diagram showing another construction of the area specifying unit 103.

[0073]FIG. 35 is a block diagram showing a construction of a robustization unit 151.

[0074]FIG. 36 is a diagram showing a motion compensation by a motion compensation unit 161.

[0075]FIG. 37 is a diagram showing a motion compensation by a motion compensation unit 161.

[0076]FIG. 38 is a flowchart showing an area specifying process.

[0077]FIG. 39 is a flowchart showing the details of a robustization process.

[0078]FIG. 40 is a block diagram showing an example construction of a mixing ratio calculating unit 104.

[0079]FIG. 41 shows an example of an ideal mixing ratio α.

[0080]FIG. 42 is a model diagram in which pixel values are expanded along the temporal direction and in which a period corresponding to a shutter time is split.

[0081]FIG. 43 is a model diagram in which pixel values are expanded along the temporal direction and in which a period corresponding to a shutter time is split.

[0082]FIG. 44 is a diagram showing an approximation using a correlation of foreground components.

[0083]FIG. 45 is a diagram showing the relationships among C, N, and P.

[0084]FIG. 46 is a block diagram showing the construction of an estimated mixing ratio processor 201.

[0085]FIG. 47 is a diagram showing an example of estimated mixing ratio.

[0086]FIG. 48 is a block diagram showing another construction of the mixing ratio calculating unit 104.

[0087]FIG. 49 is a flowchart showing a process for calculating an estimated mixing ratio.

[0088]FIG. 50 is a flowchart showing a process for calculating an estimated mixing ratio.

[0089]FIG. 51 is a block diagram showing an example construction of a foreground/background separation unit 105.

[0090]FIG. 52A is a diagram showing an input picture, a foreground component picture, and a background component picture.

[0091]FIG. 52B is a diagram showing a model associated with the input picture, the foreground component picture, and the background component picture.

[0092]FIG. 53 is a model diagram in which pixel values are expanded along the temporal direction and in which a period corresponding to a shutter time is split.

[0093]FIG. 54 is a model diagram in which pixel values are expanded along the temporal direction and in which a period corresponding to a shutter time is split.

[0094]FIG. 55 is a model diagram in which pixel values are expanded along the temporal direction and in which a period corresponding to a shutter time is split.

[0095]FIG. 56 is a diagram showing an example construction of a separation unit 251.

[0096]FIG. 57A is a diagram showing an example of a separated foreground component picture.

[0097]FIG. 57B is a diagram showing an example of a separated background component picture.

[0098]FIG. 58 is a flowchart showing a process for separating a foreground and a background.

[0099]FIG. 59 is a block diagram showing an example construction of a motion blurring adjustment unit 106.

[0100]FIG. 60 is a diagram showing a processing unit.

[0101]FIG. 61 is a model diagram in which the pixel values of a foreground component picture are expanded along the temporal direction and in which a period corresponding to a shutter time is split.

[0102]FIG. 62 is a model diagram in which the pixel values of a foreground component picture are expanded along the temporal direction and in which a period corresponding to a shutter time is split.

[0103]FIG. 63 is a model diagram in which the pixel values of a foreground component picture are expanded along the temporal direction and in which a period corresponding to a shutter time is split.

[0104]FIG. 64 is a model diagram in which the pixel values of a foreground component picture are expanded along the temporal direction and in which a period corresponding to a shutter time is split.

[0105]FIG. 65 shows another construction of the motion blurring adjustment unit 106.

[0106]FIG. 66 is a flowchart showing a process for adjusting the amount of motion blurring included in a foreground component picture by the motion blurring adjustment unit 106.

[0107]FIG. 67 is a block diagram showing another implementation of the functions of the signal processor 12.

[0108]FIG. 68 is a diagram showing a construction of a synthesis unit 371.

[0109]FIG. 69 is a block diagram showing yet another implementation of the functions of the signal processor 12.

[0110]FIG. 70 is a block diagram showing a construction of a mixing ratio calculating unit 401.

[0111]FIG. 71 is a block diagram showing a construction of a foreground/background separation unit 402.

[0112]FIG. 72 is a block diagram showing still another implementation of the functions of the signal processor 12.

[0113]FIG. 73 is a diagram showing a construction of a synthesis unit 431.

BEST MODE FOR CARRYING OUT THE INVENTION

[0114]FIG. 1 shows the principle of the present invention. As shown in the figure, a first signal, which serves as information of a real world 1 having a spatial axis and a temporal axis, is acquired by a sensor 2, and is formed into data. A detection signal, or data 3 acquired by the sensor 2, is information obtained by projecting the information of the real world 1 onto a time-space of a lower dimension than the real world 1. Therefore, the information obtained by the projection includes a distortion ascribable to the projection. That is, the data 3 output by the sensor 2 is distorted relative to the information of the real world 1. Although the data 3 includes a distortion as a result of the projection, it also includes significant information for correcting the distortion.

[0115] Thus, according to the present invention, the data output by the sensor 2 is processed by a signal processor 4, whereby the distortion is removed, reduced, or adjusted. Alternatively, according to the present invention, the data output by the sensor 2 is processed by the signal processor 4 to extract significant information.

[0116]FIG. 2 shows an example structure of a signal processing apparatus according to the present invention. A sensor 11 is implemented, for example, by a video camera, and it captures a picture of the real world and outputs acquired picture data to the signal processor 12. The signal processor 12 is implemented, for example, by a personal computer, etc., and it processes the data input from the sensor 11, adjusting the amount of distortion caused by projection, specifying an area that includes significant information buried by the projection. Furthermore, it also extracts the significant information from the specified area, and processes the input data based on the extracted significant information.

[0117] The significant information is herein, for example, mixing ratio, which will be described later.

[0118] Also, information indicating an area that includes significant information buried by projection may also be deemed as significant information. Here, area information, which will be described later, corresponds to the significant information.

[0119] The area that includes significant information is herein, for example, a mixed area, which will be described later.

[0120] The signal processor 12 is configured, for example, as shown in FIG. 3. A CPU (Central Processing Unit) 21 executes various processes according to programs stored in a ROM (Read Only Memory) 22 or in a storage unit 28. In a RAM (Random Access Memory) 23, programs to be executed by the CPU 21, data, etc. are stored as required. The CPU 21, the ROM 22, and the RAM 23 are connected to each other via a bus 24.

[0121] Furthermore, to the CPU 21, an input/output interface 25 is connected via the bus 24. To the input/output interface 25, an input unit 26 including a keyboard, a mouse, a microphone, etc., and an output unit 27 including a display, a speaker, etc. are connected. The CPU 21 executes various processes in response to commands input from the input unit 26. The CPU 21 then outputs a picture, speech, etc. obtained by the processes to the output unit 27.

[0122] The storage unit 28, connected to the input/output interface 25, is implemented, for example, by a hard disc, and it stores program to be executed by the CPU 21 and various data. A communication unit 29 communicates with external apparatuses via the Internet or other networks. In this example, the communication unit 29 functions as an acquisition unit for acquiring an output of the sensor 11.

[0123] Furthermore, programs may also be acquired via the communication unit 29 and stored in the storage unit 28.

[0124] A driver 30, connected to the input/output interface 25, drives a magnetic disc 51, an optical disc 52, a magneto-optical disc 53, a semiconductor memory 54, etc. when they are loaded, acquiring programs, data, etc. recorded therein. The programs and the data thus acquired are, as required, transferred to the storage unit 28 and stored therein.

[0125] Now, a more specific example of a signal processing apparatus for identifying an area in which significant information is buried and extracting the buried significant information from data acquired from a sensor will now described. In the following example, a CCD line sensor or a CCD area sensor corresponds to the sensor, area information or mixing ratio corresponds to the significant information, and a mixing of foreground and background or motion blurring corresponds to distortion.

[0126]FIG. 4 is a block diagram showing the signal processor 12.

[0127] The functions of the signal processor 12 may be implemented either in hardware or in software. That is, block diagrams in this specification may be deemed as either block diagrams of hardware or functional block diagrams of software.

[0128] Motion blurring herein refers to distortion included in a picture corresponding to a moving object in the real world under imaging, caused by movement of the object and imaging characteristics of the sensor 11.

[0129] In this specification, a picture corresponding to an object in the real world under imaging will be referred to as a picture object.

[0130] An input picture supplied to the signal processor 12 is supplied to an object extraction unit 101, an area specifying unit 103, a mixing ratio calculating unit 104, and to a foreground/background separation unit 105.

[0131] The object extraction unit 101 roughly extracts a picture object corresponding to a foreground object included in the input picture, and supplies the extracted picture object to a motion detection unit 102. The object extraction unit 101 roughly extracts the picture object corresponding to the foreground object included in the input picture by, for example, detecting a contour of the picture object corresponding to the foreground object.

[0132] The object extraction unit 101 roughly extracts a picture object corresponding to a background object included in the input picture, and supplies the extracted picture object to the motion detection unit 102. The object extraction unit 101 roughly extracts the picture object corresponding to the background object based on, for example, the difference between the input picture and the extracted picture object corresponding to the foreground object.

[0133] Alternatively, the object extraction unit 101 may roughly extract a picture object corresponding to the foreground object and a picture object corresponding to the background object based on, for example, the difference between a background picture stored in an internal background memory and the input picture.

[0134] The motion detection unit 102 calculates a motion vector of the roughly extracted picture object corresponding to the foreground object by, for example, a technique such as block matching method, gradient method, phase correlation method, and Pel-Recursive method, and supplies the motion vector thus calculated and position information of the motion vector (information specifying the positions of pixels corresponding to the motion vector) to the area specifying unit 103 and the motion blurring extraction unit 106.

[0135] The motion vector output by the motion detection unit 102 includes information corresponding to an amount of movement v.

[0136] Furthermore, in addition to the pixel position information specifying the pixels in picture objects, the motion detection unit 102 may also output, for example, a motion vector for each object to the motion blurring adjustment unit 106.

[0137] The amount of movement v is a value representing a change in the position of a picture corresponding to a moving object by the unit of a pixel pitch. For example, if a picture of an object corresponding to a foreground has been moved so as to be displayed at a position with a distance of four pixels in a frame with respect to an immediately preceding frame, the amount of movement v of the object corresponding to the foreground is four.

[0138] The object extraction unit 101 and the motion detection unit 102 are needed when the amount of motion blurring associated with a moving object is adjusted.

[0139] The area specifying unit 103 specifies each pixel in the input picture as being in one of a foreground area, a background area, and a mixed area, and supplies information indicating to which of the foreground area, the background area, and the mixed area each pixel belongs (hereinafter referred to as area information) to the mixing ratio calculating unit 104, the foreground/background separation unit 105, and to the motion blurring adjustment unit 106.

[0140] The mixing ratio calculating unit 104 calculates a mixing ratio for pixels included in the mixed area 63 (hereinafter referred to as mixing ratio α) based on the input picture and the area information supplied from the area specifying unit 103, and supplies the mixing ratio thus calculated to the foreground/background separation unit 105.

[0141] The mixing ratio α is a value representing the proportion of picture components corresponding to the background object (hereinafter also referred to as background components) in the pixel values, as indicated in equation (3) to be described later.

[0142] The foreground/background separation unit 105 separates the input picture into a foreground component picture made up only of picture components associated with the foreground object (hereinafter also referred to as foreground components), and a background component picture made up only of background components, based on the area information supplied from the area specifying unit 103 and the mixing ratio α supplied from the mixing ratio calculating unit 104, and it supplies the foreground component picture to the motion blurring adjustment unit 106 and to a selection unit 107. Alternatively, the separated foreground component picture may serve as final output. Compared with the conventional method in which foreground and background are separated simply at certain pixel positions in a mixed area, foreground and background can be determined more accurately.

[0143] The motion blurring adjustment unit 106 determines a processing unit indicating one or more pixels included in the foreground component picture, based on the amount of movement v, found from the motion vector, and the area information. The processing unit is data specifying a set of pixels to be processed for adjustment of the amount of motion blurring.

[0144] The motion blurring adjustment unit 106 adjusts the amount of motion blurring included in the foreground component picture, for example, removes motion blurring included in the foreground component picture, reduces the amount of motion blurring, or increases the amount of motion blurring, based on an amount of motion blurring adjustment input to the signal processor 12, the foreground component picture supplied from the foreground/background separation unit 105, the motion vector and its position information supplied from the motion detection unit 102, and the processing unit, thereby outputting a foreground component picture in which the amount of motion blurring is adjusted to the selection unit 107. The motion vector and its position information are not necessarily used.

[0145] The selection unit 107 selects one of the foreground component picture supplied from the foreground/background separation unit 105 and the foreground component picture supplied from the motion blurring adjustment unit 106, adjusted as to the amount of motion blurring, based on a selection signal according to a user's selection, outputting the selected foreground component picture.

[0146] Now, with reference to FIGS. 5 to 20, an input picture supplied to the signal processor 12 will be described.

[0147]FIG. 5 is a diagram showing imaging by a sensor. The sensor 11 is implemented, for example, by a CCD (Charge-Coupled device) video camera incorporating a CCD area sensor, which is a solid state imaging device. A real-world object 111 corresponding to a foreground is moved between a real-world object 112 corresponding to a background and the sensor 11, for example, horizontally from left to right as viewed in the figure.

[0148] The sensor 11 images the object 111 corresponding to the foreground together with the object 112 corresponding to the background. The sensor 11 outputs the captured picture on a frame basis. For example, the sensor 11 outputs a picture consisting of 30 frames per second. The exposure time of the sensor 11 is set to {fraction (1/30)} second. The exposure time is a period between when the sensor 11 starts converting input light into electric charges and when the conversion of the input light into electric charges is finished. The exposure time will hereinafter also be referred to as shutter time.

[0149]FIG. 6 is a diagram showing an arrangement of pixels. In FIG. 6, A to I denote individual pixels. The pixels are arranged on a plane corresponding to a picture. One detection element associated with one pixel is arranged on the sensor 11. When the sensor 11 captures a picture, one detection element outputs a pixel value associated with one pixel constituting the picture. For example, the position of a detection element along the X direction corresponds to a position on the picture in the horizontal direction, and the position of a detection element along the Y direction corresponds to a position on the picture in the vertical direction.

[0150] For example, as shown in FIG. 7, a CCD detection device converts input light into electric charges and accumulates the converted electric charges during a period corresponding to a shutter time. The amount of the electric charges is substantially proportional to the intensity of the input light and the duration of the input of light. The detection device adds electric charges converted from input light to electric charges having been accumulated, during the period corresponding to the shutter time. That is, the detection device integrates input light during the period corresponding to the shutter time, accumulating an amount of electric charges corresponding to the integrated light. In other words, the detection device has an integrating effect with respect to time.

[0151] The charges accumulated in the detection device are converted into voltage values by a circuit not shown, and the voltage values are in turn converted into pixel values such as digital data for output. Thus, each individual pixel value output by the sensor 11 is a value of a spatially extended portion of an object corresponding to a foreground or a background as projected onto a one-dimensional space, obtained by integrating with respect to the shutter time.

[0152] By the accumulating operation of the sensor 11 as such, the signal processor 12 extracts significant information buried in the output signal, for example, the mixing ratio α. The signal processor 12 adjusts the amount of distortion, such as the amount of motion blurring, caused by a mixing of foreground picture objects with each other. The signal processor 12 also adjusts the amount of distortion caused by a mixing of a foreground picture object with a background picture object.

[0153]FIG. 8A shows a picture obtained by imaging an object corresponding to a moving object corresponding to a foreground and a still object corresponding to a background. In an example shown in FIG. 8A, the object corresponding to the foreground is moving horizontally from left to right with respect to the screen.

[0154]FIG. 8B is a model diagram in which the pixel values corresponding to a line of the picture shown in FIG. 8A are expanded along the temporal direction. The horizontal direction in FIG. 8B corresponds to the spatial direction X in FIG. 8A.

[0155] The pixel values of the pixels in the background area made up only of background components, that is, components of a picture corresponding to a background object. The pixel values of the pixels in the foreground area made up only of foreground components, that is, components of a picture corresponding to a foreground.

[0156] The pixel values of the pixels in the mixed area are constituted of background and foreground components. Since the pixel values of the pixels in the mixed area are constituted of background and foreground components, the mixed area can be said to be a distorted area. Furthermore, the mixed area is classified into a covered background area and an uncovered background area.

[0157] The covered background area is a mixed area at a position associated with, in relation to the foreground area, the leading edge portion of the foreground object in the direction of progression thereof, in which the background components are covered by the foreground as the time passes.

[0158] On the other hand, the uncovered background area is a mixed area associated with, in relation to the foreground area, the trailing edge portion of the foreground object in the direction of progression thereof, in which the background components appear as the time passes.

[0159] The picture constituted of the foreground area, the background area, or the covered background area or the uncovered background area as above is input to the area specifying unit 103, the mixing ratio calculating unit 104, and to the foreground/background separation unit 105 as an input picture.

[0160]FIG. 9 is a diagram for explaining the background area, the foreground area, the mixed area, the covered background area, and the uncovered background area described above. In relation to the picture shown in FIG. 8B, the background area is a still portion, the foreground area is a moving portion, the covered background area in the mixed area is a portion changing from background to foreground, and the uncovered background area in the mixed area is a portion changing from foreground to background.

[0161]FIG. 10 is a model diagram in which the pixel values of pixels contiguously arranged in a line in a picture acquired by imaging a still object corresponding to a foreground and a still object corresponding to a background are expanded along the temporal direction. For example, pixels arranged in a line of the screen can be selected as the pixels contiguously arranged in a line.

[0162] The pixel values of F01 to F04 shown in FIG. 10 are those of pixels associated with the still foreground object. The pixel values of B01 to B04 shown in FIG. 10 are those of pixels associated with the still background object.

[0163] With respect to the vertical direction in FIG. 10, the time passes from top to bottom as viewed in the figure. The position of an upper side of a rectangle in FIG. 10 corresponds to a time when the sensor 11 starts converting input light into the electric charges, and the position of a lower side of the rectangle in FIG. 10 corresponds to a time when the sensor 11 finishes the conversion of input light into electric charges. That is, the distance from the upper side to the lower side of the rectangle in FIG. 10 corresponds to a shutter time.

[0164] The horizontal direction in FIG. 10 corresponds to the spatial direction X shown in FIG. 8A. More specifically, in the example shown in FIG. 10, the distance from the left side of a rectangle denoted as “F01” to the right side of a rectangle denoted as “B04” in FIG. 10 is eight times the pixel pitch, that is, it corresponds to a span of eight contiguous pixels.

[0165] When the foreground object and the background object are still, the light input to the sensor 11 does not change during a period corresponding to a shutter time.

[0166] The period corresponding to the shutter time is now split into two or more periods of the same duration. For example, assuming a virtual split number of four, the diagram shown in FIG. 10 can be expressed as a model diagram FIG. 11. The virtual split number is set, for example, in accordance with the amount of movement v of the object corresponding to the foreground. For example, if the amount of movement v is four, in accordance therewith, the virtual split number is set to four, so that the period corresponding to the shutter time is split into four.

[0167] The uppermost row in the figure corresponds to the first split period upon an opening the shutter. The second row from the top as viewed in the figure corresponds to the second split period upon the opening of the shutter. The third row from the top as viewed the figure corresponds to the third split period upon the opening of the shutter. The fourth row from the top as viewed in the figure corresponds to the fourth split period upon the opening of the shutter.

[0168] The shutter time split in accordance with the amount of movement v will hereinafter be also referred to as shutter time/v.

[0169] When the object corresponding to the foreground is still, the light input to the sensor 11 does not change, and thus a foreground component F01/v is equal to the pixel value F01 divided by the virtual split number. Similarly, when the object corresponding to the foreground is still, a foreground component F02/v is equal to the pixel value F02 divided by the virtual split number, a foreground component F03/v is equal to the pixel value F03 divided by the virtual split number, and a foreground component F04/v is equal to the pixel value F04 divided by the virtual split number.

[0170] When the object corresponding to the background is still, the light input to the sensor 11 does not change, and thus a background component B01/v is equal to the pixel value B01 divided by the virtual split number. Similarly, when the object corresponding to the background is still, a background component B02/v is equal to the pixel value B02 divided by the virtual split number, B03/v is equal to the pixel value B03 divided by the virtual split number, and B04/v is equal to the pixel value B04 divided by the virtual split number.

[0171] That is, when the object corresponding to the foreground is still, the light input to the sensor 11 in association with the foreground object does not change during the period corresponding to the shutter time. Thus, a foreground component F01/v associated with the first shutter time/v upon the opening of the shutter, a foreground component F01/v associated with the second shutter time/v upon the opening of the shutter, a foreground component F01/v associated with the third shutter time/v upon the opening of the shutter, and a foreground component F01/v associated with the fourth shutter time/v upon the opening of the shutter have the same value. Similar relationships are true of F02/v to F04/v.

[0172] When the object corresponding to the background is still, the light input to the sensor 11 in association with the background object does not change during the period corresponding to the shutter time. Thus, a background component B01/v associated with the first shutter time/v upon the opening of the shutter, a background component B01/v associated with the second shutter time/v upon the opening of the shutter, a background component B01/v associated with the third shutter time/v upon the opening of the shutter, and a background component B01/v associated with the fourth shutter time/v upon the opening of the shutter have the same value. Similar relationships are true of B02/v to B04/v.

[0173] Next, a case where the object corresponding to the foreground is moving and the object corresponding to the background is still.

[0174]FIG. 12 is a model diagram of a case where an object corresponding to a foreground moves towards the right as viewed in the figure, in which the pixel values of pixels on a line including a covered background area are expanded along the temporal direction. In FIG. 12, the amount of movement v of foreground is four. Since a single frame is a short period of time, the object corresponding to the foreground can be assumed as a rigid body moving at a constant velocity. In FIG. 12, a picture of the object corresponding to the foreground is moved so as to be displayed four pixels rightward in a frame with respect to an immediately preceding frame.

[0175] In FIG. 12, the leftmost pixel to the fourth pixel from the left belong to a foreground area. In FIG. 12, the fifth to the seventh pixels from the left in FIG. 12 belong to a mixed area that constitutes a covered background area. In FIG. 12, the rightmost pixel belongs to a background area.

[0176] The object corresponding to the foreground moves so as to cover the object corresponding to the background as the time passes. Thus, the components included in the pixel values of the pixels belonging to the covered background area are switched from background components to foreground components at a certain point of time in the period corresponding to the shutter time.

[0177] For example, a pixel value M, shown in a thick-line frame in FIG. 12, is expressed by equation (1):

M=B02/v+B02/v+F07/v+F06/v  (1)

[0178] For example, the fifth pixel from the left includes a background component corresponding to one shutter time/v and foreground components corresponding to three shutter time/v, and thus the mixing ratio α for the fifth pixel from the left is ¼. The sixth pixel from the left includes background components corresponding to two shutter time/v and foreground components corresponding to two shutter time/v, and thus the mixing ratio α for the sixth pixel from the left is ½. The seventh pixel from the left includes background components corresponding to three shutter time/v and a foreground component corresponding to one shutter time/v, and thus the mixing ratio α for the seventh pixel from the left is ¾.

[0179] Since the object corresponding to the foreground can be assumed as a rigid body moving at such a constant velocity that the foreground picture will be displayed four pixels rightwards in the next frame, for example, a foreground component F07/v of the fourth pixel from the left in FIG. 12 in the first shutter time/v upon the opening of the shutter is equal to a foreground component of the fifth pixel from the left in FIG. 12 associated with the second shutter time/v upon the opening of the shutter. Similarly, the foreground component F07/v is equal to a foreground component of the sixth pixel from the left in FIG. 12 associated with the third shutter time/v upon the opening of the shutter and to a foreground component of the seventh pixel from the left in FIG. 12 associated with the fourth shutter time/v upon the opening of the shutter.

[0180] Since the object corresponding to the foreground can be assumed as a rigid body moving at such a constant velocity that the foreground picture will be displayed four pixels rightwards in the next frame, for example, a foreground component F06/v of the third pixel from the left in FIG. 12 in the first shutter time/v upon the opening of the shutter is equal to a foreground component of the fourth pixel from the left in FIG. 12 associated with the second shutter time/v upon the opening of the shutter. Similarly, the foreground component F06/v is equal to a foreground component of the fifth pixel from the left in FIG. 12 associated with the third shutter time/v upon the opening of the shutter and to a foreground component of the sixth pixel from the left in FIG. 12 associated with the fourth shutter time/v upon the opening of the shutter.

[0181] Since the object corresponding to the foreground can be assumed as a rigid body moving at such a constant velocity that the foreground picture will be displayed four pixels rightwards in the next frame, for example, a foreground component F05/v of the second pixel from the left in FIG. 12 in the first shutter time/v upon the opening of the shutter is equal to a foreground component of the third pixel from the left in FIG. 12 associated with the second shutter time/v upon the opening of the shutter. Similarly, the foreground component F05/v is equal to a foreground component of the fourth pixel from the left in FIG. 12 associated with the third shutter time/v upon the opening of the shutter and to a foreground component of the fifth pixel from the left in FIG. 12 associated with the fourth shutter time/v upon the opening of the shutter.

[0182] Since the object corresponding to the foreground can be assumed as a rigid body moving at such a constant velocity that the foreground picture will be displayed four pixels rightwards in the next frame, for example, a foreground component F04/v of the leftmost pixel in FIG. 12 in the first shutter time/v upon an opening of the shutter is equal to a foreground component of the second pixel from the left in FIG. 12 associated with the second shutter time/v upon the opening of the shutter. Similarly, the foreground component F04/v is equal to a foreground component of the third pixel from the left in FIG. 12 associated with the third shutter time/v upon the opening of the shutter and to a foreground component of the fourth pixel from the left in FIG. 12 associated with the fourth shutter time/v upon the opening of the shutter.

[0183] The foreground area corresponding to the moving object, since it includes motion blurring as described above, can be said to be a distorted area.

[0184]FIG. 13 is a model diagram of a case where foreground moves towards the right as viewed in the figure, in which the pixel values of pixels on a line including an uncovered background area are expanded along the temporal direction. In FIG. 13, the amount of movement v of foreground is four. Since a single frame is a short period of time, the object corresponding to the foreground can be assumed as a rigid body moving at a constant velocity. In FIG. 13, a picture of the object corresponding to the foreground is moved four pixels rightward in a frame with respect to an immediately preceding frame.

[0185] In FIG. 13, the leftmost pixel to the fourth pixel from the left belong to a background area. In FIG. 13, the fifth to the seventh pixels from the left in FIG. 13 belong to a mixed area that constitutes an uncovered background. In FIG. 13, the rightmost pixel belongs to a foreground area.

[0186] The object corresponding to the foreground, by which an object corresponding to a background has been covered, moves so as to be removed from the front of the object corresponding to the background as the time passes. Thus, the components included in the pixel values of the pixels belonging to the uncovered background area are switched from background components to foreground components at a certain point of time in the period corresponding to the shutter time.

[0187] For example, a pixel value M′, shown in a thick-line frame in FIG. 13, is expressed by equation (2):

M′=F02/v+F01/v+B26/v+B26/v  (2)

[0188] For example, the fifth pixel from the left includes background components corresponding to three shutter time/v and a foreground component corresponding to one shutter time/v, and thus the mixing ratio α for the fifth pixel from the left is ¾. The sixth pixel from the left includes background components corresponding to two shutter time/v and foreground components corresponding to two shutter time/v, and thus the mixing ratio α for the sixth pixel from the left is ½. The seventh pixel from the left includes a background component corresponding to one shutter time/v and foreground components corresponding to three shutter time/v, and thus the mixing ratio α for the seventh pixel from the left is ¼.

[0189] In a more generalized form of equations (1) and (2), a pixel value M is expressed by equation (3): $\begin{matrix} {M = {{\alpha \cdot B} + {\sum\limits_{i}{F\quad {i/v}}}}} & (3) \end{matrix}$

[0190] where α is a mixing ratio. B is a pixel value of background, and Fi/v is a foreground component.

[0191] Since the object corresponding to the foreground can be assumed as a rigid body moving at a constant velocity and the amount of movement v is four, for example, a foreground component F01/v of the fifth pixel from the left in FIG. 13 in the first shutter time/v upon the opening of the shutter is equal to a foreground component of the sixth pixel from the left in FIG. 13 associated with the second shutter time/v upon the opening of the shutter. Similarly, the foreground component F01/v is equal to a foreground component of the seventh pixel from the left in FIG. 13 associated with the third shutter time/v upon the opening of the shutter and to a foreground component of the eighth pixel from the left in FIG. 13 associated with the fourth shutter time/v upon the opening of the shutter.

[0192] Since the object corresponding to the foreground can be assumed as a rigid body moving at a constant velocity and the virtual split number is four, for example, a foreground component F02/v of the sixth pixel from the left in FIG. 13 in the first shutter time/v upon the opening of the shutter is equal to a foreground component of the seventh pixel from the left in FIG. 13 associated with the second shutter time/v upon the opening of the shutter. Similarly, the foreground component F02/v is equal to a foreground component of the eighth pixel from the left in FIG. 13 associated with the third shutter time/v upon the opening of the shutter.

[0193] Since the object corresponding to the foreground can be assumed as a rigid body moving at a constant velocity and the amount of movement v is four, for example, a foreground component F03/v of the seventh pixel from the left in FIG. 13 in the first shutter time/v upon the opening of the shutter is equal to a foreground component of the eighth pixel from the left in FIG. 1e associated with the second shutter time/v upon the opening of the shutter.

[0194] Although description has been made as to FIGS. 11 to 13 with an assumption that the virtual split number is four, the virtual split number is in accordance with the amount of movement v. The amount of movement v generally corresponds to the velocity of movement of an object corresponding to a foreground. For example, if the object corresponding to the foreground is moving so as to be displayed four pixels rightwards in a frame with respect to an immediately preceding frame, the amount of movement v is four. In accordance with the amount of movement v, the virtual split number is four. Similarly, for example, if the object corresponding to the foreground is moving so as to be displayed six pixels leftwards in a frame with respect to an immediately preceding frame, the amount of movement v is six, and the virtual split number is six.

[0195]FIGS. 14 and 15 show relationships between foreground area, background area, mixed area constituted of covered background area or uncovered background area, and foreground and background components corresponding to split shutter times, which have been described above.

[0196]FIG. 14 shows an example in which the pixels of a foreground area, a background area, and a mixed area are extracted from a picture including a foreground corresponding to an object moving in front of a still background. In the example shown in FIG. 14, the object corresponding to the foreground is moving horizontally with respect to the screen.

[0197] A frame #n+1 is next to a frame #n, and a frame #n+2 is next to the frame #n+1.

[0198]FIG. 15 is a model diagram in which the pixels of a foreground area, a background area, and a mixed area extracted from one of the frames #n to #n+2 are extracted and in which the pixels values of the extracted pixels are expanded along the temporal direction while assuming that the amount of movement v is four.

[0199] Since the object corresponding to the foreground moves, a pixel value of the foreground area consists of four different foreground components corresponding to periods of the shutter time/v. For example, the leftmost one of the pixels in the foreground area shown in FIG. 15 consists of F01/v, F02/v, F03/v, and F04/v. That is, the pixels in the foreground area include motion blurring.

[0200] Since the object corresponding to the background is still, the light input to the sensor 11 in association with the background does not change during the period corresponding to the shutter time. In this case, the pixel values of the background do not include motion blurring.

[0201] The pixel values of the pixels belonging to the mixed area, constituted of a covered background area or an uncovered background area, made up of foreground components and background components.

[0202] Next, a model will be described in which, with regard to a moving picture corresponding to an object, the pixel values in a plurality of frames, of pixels contiguously arranged in a line and at the same positions in the frames, are expanded along the temporal direction. For example, if the picture corresponding to the object is moving horizontally with respect to the screen, pixels arranged on a line of the screen can be selected as the pixels contiguously arranged in a line.

[0203]FIG. 16 is a model diagram in which the pixel values in three frames of a picture acquired by imaging a still object corresponding to a background, of pixels contiguously arranged in a line and at the same positions in the frames, are expanded along the temporal direction. A frame #n is next to a frame #n−1, and a frame #n+1 is next to the frame #n. Other frames will be similarly referred to.

[0204] The pixel values of B01 to B12 shown in FIG. 16 are those of pixels corresponding to the still object in the background. Since the object corresponding to the background is still, the pixel values of the corresponding pixels in the frames #n−1 to the frame n+1 do not change. For example, each of the pixel in the frame #n and the pixel in the frame #n+1 corresponding to the position of the pixel with a pixel value of B05 in the frame #n−1 has a pixel value of B05.

[0205]FIG. 17 is a model diagram in which the pixel values in three frames of a picture acquired by imaging, together with a still object corresponding to a background, an object corresponding to a foreground moving rightwards as viewed in the figure, of pixels contiguously arranged in a line and at the same positions in the frames, are expanded along the temporal direction. The model shown in FIG. 17 includes a covered background area.

[0206] In FIG. 17, the object corresponding to the foreground can be assumed as a rigid body moving at a constant velocity, and the foreground picture moves so as to be displayed four pixels rightwards in the next frame. Thus, the amount of movement v of the foreground is four, and the virtual split number is four.

[0207] For example, the foreground component of the leftmost pixel in the frame #n−1 in FIG. 17 in the first shutter time/v upon the opening of the shutter is F12/v, and the foreground component of the second pixel from the left in FIG. 17 in the second shutter time/v upon the opening of the shutter is also F12/v. The foreground component of the third pixel from the left in FIG. 17 in the third shutter time/v upon the opening of the shutter, and the foreground component of the fourth pixel from the left in FIG. 17 in the fourth shutter time/v upon the opening of the shutter are F12/v.

[0208] The foreground component of the leftmost pixel in the frame #n−1 in FIG. 17 in the second shutter time/v upon the opening of the shutter is F11/v, and the foreground component of the second pixel from the left in FIG. 17 in the third shutter time/v upon the opening of the shutter is also F11/v. The foreground component of the third pixel from the left in FIG. 17 in the fourth shutter time/v upon the opening of the shutter is F11/v.

[0209] The foreground component of the leftmost pixel in the frame #n−1 in FIG. 17 in the third shutter time/v upon the opening of the shutter is F10/v, and the foreground component of the second pixel from the left in FIG. 17 in the fourth shutter time/v upon the opening of the shutter is also F10/v. The foreground component of the leftmost pixel in the frame #n−1 in FIG. 17 in the fourth shutter time/v upon the opening of the shutter is F09/v.

[0210] Since the object corresponding to the background is still, the background component of the second pixel from the left in the frame #n−1 in FIG. 17 in the first shutter time/v upon the opening of the shutter is B01/v. The background component of the third pixel from the left in the frame #n−1 in FIG. 17 in the first and the second shutter time/v upon the opening of the shutter is B02/v. The background component of the fourth pixel from the left in the frame #n−1 in FIG. 17 in the first to the third shutter time/v upon the opening of the shutter is B03/v.

[0211] In the frame #n−1 in FIG. 17, the leftmost pixel belongs to a foreground area, while the second to the fourth pixels from the left belong to a mixed area constituting a covered background area.

[0212] The fifth to the twelfth pixels from the left in the frame #n−1 in FIG. 17 belong to a background area, the pixel values thereof being B04 to B11, respectively.

[0213] The first to the fifth pixels from the left in the frame #n in FIG. 17 belong to a foreground area. The foreground component of the foreground area in the frame #n in a shutter time/v is one of F05/v to F12/v.

[0214] The object corresponding to the foreground can be assumed as a rigid body moving at a constant velocity, and the foreground picture moves so as to be displayed four pixels rightwards in the next frame. Thus, the foreground component of the fifth pixel from the left in the frame #n in FIG. 17 in the first shutter time/v upon the opening of the shutter is F12/v, and the foreground component of the sixth pixel from the left in FIG. 17 in the second shutter time/v upon the opening of the shutter is also F12/v. The foreground component of the seventh pixel from the left in FIG. 17 in the third shutter time/v upon the opening of the shutter, and the foreground component of the eighth pixel from the left in FIG. 17 in the fourth shutter time/v upon the opening of the shutter are F12/v.

[0215] The foreground component of the fifth pixel from the left in the frame #n in FIG. 17 in the second shutter time/v upon the opening of the shutter is F11/v, and the foreground component of the sixth pixel from the left in FIG. 17 in the third shutter time/v upon the opening of the shutter is also F11/v. The foreground component of the seventh pixel from the left in FIG. 17 in the fourth shutter time/v upon the opening of the shutter is F11/v.

[0216] The foreground component of the fifth pixel from the left in the frame #n in FIG. 17 in the third shutter time/v upon the opening of the shutter is F10/v, and the foreground component of the sixth pixel from the left in FIG. 17 in the fourth shutter time/v upon the opening of the shutter is also F10/v. The foreground component of the fifth pixel from the left in the frame #n in FIG. 17 in the fourth shutter time/v upon the opening of the shutter is F09/v.

[0217] Since the object corresponding to the background is still, the background component of the sixth pixel from the left in the frame #n in FIG. 17 in the first shutter time/v upon the opening of the shutter is B05/v. The background component of the seventh pixel from the left in the frame #n in FIG. 17 in the first and the second shutter time/v upon the opening of the shutter is B06/v. The background component of the eighth pixel from the left in the frame #n in FIG. 17 in the first to the third shutter time/v upon the opening of the shutter is B07/v.

[0218] In the frame #n in FIG. 17, the sixth to the eighth pixels from the left belong to a mixed area constituting a covered background area.

[0219] The ninth to the twelfth pixels from the left in the frame #n in FIG. 17 belong to a background area, the pixel values thereof being B08 to B11, respectively.

[0220] The first to the ninth pixels from the left in the frame #n+1 in FIG. 17 belong to a foreground area. The foreground component of the foreground area in the frame #n+1 in a shutter time/v is one of F01/v to F12/v.

[0221] The object corresponding to the foreground can be assumed as a rigid body moving at a constant velocity, and the foreground picture moves so as to be displayed four pixels rightwards in the next frame. Thus, the foreground component of the ninth pixel from the left in the frame #n+1 in FIG. 17 in the first shutter time/v upon the opening of the shutter is F12/v, and the foreground component of the tenth pixel from the left in FIG. 17 in the second shutter time/v upon the opening of the shutter is also F12/v. The foreground component of the eleventh pixel from the left in FIG. 17 in the third shutter time/v upon the opening of the shutter, and the foreground component of the twelfth pixel from the left in FIG. 17 in the fourth shutter time/v upon the opening of the shutter are F12/v.

[0222] The foreground component of the ninth pixel from the left in the frame #n+1 in FIG. 17 in the second shutter time/v upon the opening of the shutter is F11/v, and the foreground component of the tenth pixel from the left in FIG. 17 in the third shutter time/v upon the opening of the shutter is also F11/v. The foreground component of the eleventh pixel from the left in FIG. 17 in the fourth shutter time/v upon the opening of the shutter is F11/v.

[0223] The foreground component of the ninth pixel from the left in the frame #n+1 in FIG. 17 in the third shutter time/v upon the opening of the shutter is F10/v, and the foreground component of the tenth pixel from the left in FIG. 17 in the fourth shutter time/v upon the opening of the shutter is also F10/v. The foreground component of the ninth pixel from the left in the frame #n+1 in FIG. 17 in the fourth shutter time/v upon the opening of the shutter is F09/v.

[0224] Since the object corresponding to the background is still, the background component of the tenth pixel from the left in the frame #n+1 in FIG. 17 in the first shutter time/v upon the opening of the shutter is B09/v. The background component of the eleventh pixel from the left in the frame #n+1 in FIG. 17 in the first and the second shutter time/v upon the opening of the shutter is B10/v. The background component of the twelfth pixel from the left in the frame #n+1 in FIG. 17 in the first to the third shutter time/v upon the opening of the shutter is B11/v.

[0225] In the frame #n+1 in FIG. 17, the tenth to the twelfth pixels from the left correspond to a mixed area constituting a covered background area.

[0226]FIG. 18 is a model diagram of a picture obtained by extracting the foreground components from the pixel values shown in FIG. 17.

[0227]FIG. 19 is a model diagram in which the pixel values in three frames of a picture acquired by imaging, together with a still background, a foreground corresponding to an object moving rightwards as viewed in the figure, of pixels contiguously arranged in a line and at the same positions in the frames, are expanded along the temporal direction. In FIG. 19, an uncovered background area is included.

[0228] In FIG. 19, the object corresponding to the foreground can be assumed as a rigid body moving at a constant velocity. Since the object corresponding to the foreground moves so as to be displayed four pixels rightwards in the next frame, the amount of movement v is four.

[0229] For example, the foreground component of the leftmost pixel in the frame #n−1 in FIG. 19 in the first shutter time/v upon the opening of the shutter is F13/v, and the foreground component of the second pixel from the left in FIG. 19 in the second shutter time/v upon the opening of the shutter is also F13/v. The foreground component of the third pixel from the left in FIG. 19 in the third shutter time/v upon the opening of the shutter, and the foreground component of the fourth pixel from the left in FIG. 19 in the fourth shutter time/v upon the opening of the shutter are F13/v.

[0230] The foreground component of the second pixel from the left in the frame #n−1 in FIG. 19 in the first shutter time/v upon the opening of the shutter is F14/v, and the foreground component of the third pixel from the left in FIG. 19 in the second shutter time/v upon the opening of the shutter is also F14/v. The foreground component of the third pixel from the left in FIG. 19 in the first shutter time/v upon the opening of the shutter is F15/v.

[0231] Since the object corresponding to the background is still, the background component of the leftmost pixel in the frame #n−1 in FIG. 19 in the second to the fourth shutter time/v upon the opening of the shutter is B25/v. The background component of the second pixel from the left in the frame #n−1 in FIG. 19 in the third and the fourth shutter time/v upon the opening of the shutter is B26/v. The background component of the third pixel from the left in the frame #n−1 in FIG. 19 in the fourth shutter time/v upon the opening of the shutter is B27/v.

[0232] In the frame #n−1 in FIG. 19, the leftmost pixel to the third pixel from the left belong to a mixed area constituting an uncovered background area.

[0233] The fourth to the twelfth pixels from the left in the frame #n−1 in FIG. 19 belong to a foreground area. A foreground component of the frame is one of F13/v to F24/v.

[0234] The leftmost pixel to the fourth pixel from the left in the frame #n in FIG. 19 belong to a background area, the pixel values thereof being B25 to B28, respectively.

[0235] The object corresponding to the foreground can be assumed as a rigid body moving at a constant velocity, and the foreground picture moves so as to be displayed four pixels rightwards in the next frame. Thus, the foreground component of the fifth pixel from the left in the frame #n in FIG. 19 in the first shutter time/v upon the opening of the shutter is F13/v, and the foreground component of the sixth pixel from the left in FIG. 19 in the second shutter time/v upon the opening of the shutter is also F13/v. The foreground component of the seventh pixel from the left in FIG. 19 in the third shutter time/v upon the opening of the shutter, and the foreground component of the eighth pixel from the left in FIG. 19 in the fourth shutter time/v upon the opening of the shutter are F13/v.

[0236] The foreground component of the sixth pixel from the left in the frame #n in FIG. 19 in the first shutter time/v upon the opening of the shutter is F14/v, and the foreground component of the seventh pixel from the left in FIG. 19 in the second shutter time/v upon the opening of the shutter is also F14/v. The foreground component of the eighth pixel from the left in FIG. 19 in the first shutter time/v upon the opening of the shutter is F15/v.

[0237] Since the object corresponding to the background is still, the background component of the fifth pixel from the left in the frame #n in FIG. 19 in the second to the fourth shutter time/v upon the opening of the shutter is B29/v. The background component of the sixth pixel from the left in the frame #n in FIG. 19 in the third and the fourth shutter time/v upon the opening of the shutter is B30/v. The background component of the seventh pixel from the left in the frame #n in FIG. 19 in the fourth shutter time/v upon the opening of the shutter is B31/v.

[0238] In the frame #n in FIG. 19, the fifth to the seventh pixels from the left belong to a mixed area constituting an uncovered background area.

[0239] The eighth to the twelfth pixels from the left in the frame #n in FIG. 19 belong to a foreground area. The value in the foreground area in the frame #n corresponding to a period of shutter time/v is one of F13/v to F20/v.

[0240] The leftmost pixel to the eighth pixel from the left in the frame #n+1 in FIG. 19 belong to a background area, the pixel values thereof being B25 to B32, respectively.

[0241] The object corresponding to the foreground can be assumed as a rigid body moving at a constant velocity, and the foreground picture moves so as to be displayed four pixels rightwards in the next frame. Thus, the foreground component of the ninth pixel from the left in the frame #n+1 in FIG. 19 in the first shutter time/v upon the opening of the shutter is F13/v, and the foreground component of the tenth pixel from the left in FIG. 19 in the second shutter time/v upon the opening of the shutter is also F13/v. The foreground component of the eleventh pixel from the left in FIG. 19 in the third shutter time/v upon the opening of the shutter, and the foreground component of the twelfth pixel from the left in FIG. 19 in the fourth shutter time/v upon the opening of the shutter are F13/v.

[0242] The foreground component of the tenth pixel from the left in the frame #n+1 in FIG. 19 in the first shutter time/v upon the opening of the shutter is F14/v, and the foreground component of the eleventh pixel from the left in FIG. 19 in the second shutter time/v upon the opening of the shutter is also F14/v. The foreground component of the twelfth pixel from the left in FIG. 19 in the first shutter time/v upon the opening of the shutter is F15/v.

[0243] Since the object corresponding to the background is still, the background component of the ninth pixel from the left in the frame #n+1 in FIG. 19 in the second to the fourth shutter time/v upon the opening of the shutter is B33/v. The background component of the tenth pixel from the left in the frame #n+1 in FIG. 19 in the third and the fourth shutter time/v upon the opening of the shutter is B34/v. The background component of the eleventh pixel from the left in the frame #n+1 in FIG. 19 in the fourth shutter time/v upon the opening of the shutter is B35/v.

[0244] In the frame #n+1 in FIG. 19, the ninth to the eleventh pixels from the left belong to a mixed area constituting an uncovered background area.

[0245] The twelfth pixel from the left in the frame #n+1 in FIG. 19 belongs to a foreground area. The foreground component of the foreground area in the frame #n+1 in a shutter time/v is one of F13/v to F16/v.

[0246]FIG. 20 is a model diagram of a picture obtained by extracting the foreground components from the pixel values shown in FIG. 19.

[0247] Referring back to FIG. 4, the area specifying unit 103 associates, with each pixel, a flag indicating to which of a foreground area, a background area, a covered background area, or an uncovered background area the pixel belongs, using pixel values in a plurality of frames, and supplies it as area information to the mixing ratio calculating unit 104 and to the motion blurring adjustment unit 106.

[0248] Based on the pixel values in the plurality of frames and the area information, the mixing ratio calculating unit 104 calculates a mixing ratio α for each pixel included in a mixed area, and supplies mixing ratios α thus calculated to the foreground/background separation unit 105.

[0249] Based on the pixel values in the plurality of frames, the area information, and the mixing ratios α, the foreground/background separation unit 105 extracts a foreground component picture made up only of foreground components, and supplies it to the motion blurring adjustment unit 106.

[0250] Based on the foreground component picture supplied from the foreground/background separation unit 105, the motion vector supplied from the motion detection unit 102, and the area information supplied from the area specifying unit 103, the motion blurring adjustment unit 106 adjusts the amount of motion blurring included in the foreground component picture, outputting a foreground component picture that has been adjusted as to the amount of motion blurring.

[0251] Processes by the signal processor 12 for adjusting the amount of motion blurring will be described with reference to a flowchart in FIG. 21. In step S101, the area specifying unit 103 executes, based on an input picture, a area specifying process for generating area information indicating to which of a foreground area, a background area, a covered background area, or an uncovered background area each pixel of the input picture belongs. The area specifying process will be described later in detail with reference to a flowchart in FIG. 30. The area specifying unit 103 supplies the area information thus generated to the mixing ratio calculating unit 104.

[0252] In step S101, the area specifying unit 103 may generate, based on an input picture, area information indicating to which of a foreground area, a background area, or a mixed area (without distinction between covered background area and uncovered background area) each pixel of the input picture belongs. In this case, the foreground/background separation unit 105 and the motion blurring adjustment unit 106 determine whether a mixed area is a covered background area or an uncovered background area, based on the direction of the motion vector. For example, if a foreground area, a mixed area, and a background area are arranged in that order in the direction of the motion vector, the mixed area is determined as a covered background area; whereas, if a background area, a mixed area, and a foreground area are arranged in that order in the direction of the motion vector, the mixed area is determined as an uncovered background area.

[0253] In step S102, the mixing ratio calculating unit 104 calculates a mixing ratio α for each pixel included in a mixed area, based on the input picture and the area information. The process for calculating mixing ratio will be described later in detail with reference to a flowchart in FIG. 49. The mixing ratio calculating unit 104 supplies mixing ratios α thus calculated to the foreground/background separation unit 105.

[0254] In step S103, the foreground/background separation unit 105 extracts foreground components from the input picture, based on the area information and the mixing ratios α, and supplies it to the motion blurring adjustment unit 106 as a foreground component picture.

[0255] In step S104, based on the motion vector and the area information, the motion blurring adjustment unit 106 creates a processing unit indicating the positions on the picture of pixels arranged contiguously in the direction of movement and belonging to an uncovered background area, a foreground area, or a covered background area, and adjusts the amount of motion blurring included in foreground components corresponding to the processing unit. The process for adjusting the amount of motion blurring will be described later in detail with reference to a flowchart in FIG. 66.

[0256] In step S105, the signal processor 12 determines whether the process has been finished for the entire screen, and if it is determined that the process has not been finished for the entire screen, it proceeds to step S104, repeating the process for adjusting the amount of motion blurring for the foreground components corresponding to the processing unit.

[0257] If it is determined in step S106 that the process has been finished for the entire screen, the process is exited.

[0258] As described above, the signal processor 12 is capable of separating a foreground and a background and adjusting the amount of motion blurring included in the foreground. That is, the signal processor 12 is capable of adjusting the amount of motion blurring included in sample data consisting of the pixel values of foreground pixels.

[0259] An example construction of each of the area specifying unit 103, the mixing ratio calculating unit 104, the foreground/background separation unit 105, and the motion blurring adjustment unit 106 will be described below.

[0260]FIG. 22 is a block diagram showing a construction of the area specifying unit 103. The area specifying unit 103 shown in FIG. 22 does not use a motion vector. A background picture generation unit 121 generates a background picture associated with the input picture, and supplies the background picture thus generated to a binary object picture extraction unit 122. The background picture generation unit 121 generates the background picture by, for example, extracting a picture object corresponding to a background object included in the input picture.

[0261]FIG. 23 is an example model diagram in which the pixel values of pixels contiguously arranged in a line in the direction of movement of a picture corresponding to a foreground object are expanded along the temporal direction. For example, if the direction of movement of the picture corresponding to the foreground object is horizontal with respect to the screen, the model diagram in FIG. 23 shows a model in which the pixel values of contiguous pixels on a line is expanded along the temporal direction.

[0262] In FIG. 23, the line in frame #n is the same as the lines in the frame #n−1 and the frame n+1.

[0263] The foreground components corresponding to an object included in the sixth to the seventeenth pixels from the left in the frame #n are included in the second to the thirteenth pixels from the left in the frame #n−1, and included in the tenth to the twenty-first pixels from the left in the frame #n+1.

[0264] In the frame #n−1, the eleventh to the thirteenth pixels from the left belong to a covered background area, while the second to the fourth pixels from the left belong to an uncovered background area. In the frame #n, the fifteenth to the seventeenth pixels from the left belong to a covered background area, while the sixth to the eighth pixels from the left belong to an uncovered background area. In the frame #n+1, the nineteenth to the twenty-first pixels from the left belong to a covered background area, while the tenth to the twelfth pixels from the left belong to an uncovered background area.

[0265] In the frame #n−1, the first, and the fourteenth to the twenty-first pixels from the left belong to a background area. In the frame #n, the first to the fifth, and the eighteenth to the twenty-first pixels from the left belong to a background area. In the frame #n+1, the first to the ninth pixels from the left belong to a background area.

[0266]FIG. 24 shows an example background picture generated by the background picture generation unit 121, corresponding to the example shown in FIG. 23. The background picture is made up of pixels corresponding to a background object, and does not include picture components corresponding to a foreground object.

[0267] The binary object picture extraction unit 122 generates a binary object picture based on a correlation between the background picture and the input picture, and supplies the binary object picture thus generated to a temporal change detection unit 123.

[0268]FIG. 25 is a block diagram showing a construction of the binary object picture extraction unit 122. A correlation value calculating unit 131 calculates a correlation between the background picture supplied from the background picture generation unit 121 and the input picture to generate a correlation value, and supplies the correlation value thus generated to a threshold value processor 132.

[0269] The correlation value calculating unit 131, for example, applies equation (4) to a 3×3 block centered at X₄ in the background picture as shown in FIG. 26A and a 3×3 block centered at Y₄ in the input picture as shown in FIG. 26B, corresponding to the block in the background picture, thereby calculating a correlation value corresponding to Y₄. $\begin{matrix} {{{Correlation}\quad {value}} = \frac{\sum\limits_{i = 0}^{8}\quad {\left( {{Xi} - \overset{\_}{X}} \right){\sum\limits_{i = 0}^{8}\left( {{Yi} - \overset{\_}{Y}} \right)}}}{\sqrt{\sum\limits_{i = 0}^{8}{\left( {{Xi} - \overset{\_}{X}} \right)^{2} \cdot {\sum\limits_{i = 0}^{8}\left( {{Yi} - \overset{\_}{Y}} \right)^{2}}}}}} & (4) \\ {\overset{\_}{X} = \frac{\sum\limits_{i = 0}^{8}{Xi}}{9}} & (5) \\ {\overset{\_}{Y} = \frac{\sum\limits_{i = 0}^{8}{Yi}}{9}} & (6) \end{matrix}$

[0270] The correlation value calculating unit 131 supplies the correlation value thus calculated for each of the pixels to the threshold value processor 132.

[0271] Alternatively, for example, the correlation value calculating unit 131 may apply equation (7) to a 3×3 block centered at X₄ in the background picture as shown in FIG. 27A and a 3×3 block centered at Y₄ in the input picture as shown in FIG. 27B, corresponding to the block in the background picture, thereby calculating an absolute differential value corresponding to Y₄. $\begin{matrix} {{{Absolute}\quad {differential}\quad {value}} = {\sum\limits_{i = 0}^{8}\left( {{Xi} - {Yi}} \right)}} & (7) \end{matrix}$

[0272] The correlation value calculating unit 131 supplies absolute differential value thus calculated to the threshold value processor 132 as a correlation value.

[0273] The threshold value processor 132 compares the pixel values of a correlation picture with a threshold value th0, setting a 1 to a pixel value of a binary object picture if the correlation value is not greater than the threshold value th0 while setting a 0 to the pixel value of the binary object picture if the correlation value is greater than the threshold value th0, and outputs the binary object picture in which a 0 or a 1 is set in each of the pixel values. The threshold value processor 132 may store a threshold value th0 in advance, or use a threshold value th0 externally input.

[0274]FIG. 28 is a diagram showing an example of binary object picture, corresponding to the model of input picture shown in FIG. 23. In the binary object picture, the pixel value of a pixel with a high correlation with the background picture is set to 0.

[0275]FIG. 29 is a block diagram showing a construction of the temporal change detection unit 123. A frame memory 141 stores binary object pictures of the frames #n−1, #n, and #n+1, supplied from the binary object picture extraction unit 122, when areas are determined for the pixels in the frame #n.

[0276] An area decision unit 142 determines an area for each of the pixels in the frame #n based on the binary object pictures of the frames #−1, #n, and #n+1 to generate area information, outputting the area information thus generated.

[0277]FIG. 30 is a diagram for explaining the decision by the area decision unit 142. When a pixel under consideration in the binary object picture of the frame #n is 0, the area decision unit 142 determines that the pixel under consideration in the frame #n belongs to a background area.

[0278] If the pixel under consideration in the binary object picture of the frame #n is 1, the corresponding pixel in the binary object picture of the frame #n−1 is 1, and if the corresponding pixel in the binary object picture of the frame #n+1 is 1, the area decision unit 142 determines that the pixel under consideration in the frame #n belongs to a foreground area.

[0279] If the pixel under consideration in the binary object picture of the frame #n is 1 and if the corresponding pixel in the binary object picture of the frame #n−1 is 0, the area decision unit 142 determines that the pixel under consideration in the frame #n belongs to a covered background area.

[0280] If the pixel under consideration in the binary object picture of the frame #n is 1 and if the corresponding pixel in the binary object picture of the frame #n+1 is 0, the area decision unit 142 determines that the pixel under consideration in the frame #n belongs to an uncovered background area.

[0281]FIG. 31 shows an example of decision by the temporal change detection unit 123, with regard to the binary object picture corresponding to the model of input picture shown in FIG. 23. The temporal change detection unit 123 determines that the first to the fifth pixels from the left in the frame #n belong to a background area because the corresponding pixels in the frame #n of the binary object picture are 0s.

[0282] The temporal change detection unit 123 determines that the sixth to the ninth pixels from the left belong to an uncovered background area because the pixels in the frame #n of the binary object picture are 1s and the corresponding pixels in the frame #n+1 are 0s.

[0283] The temporal change detection unit 123 determines that the tenth to the thirteenth pixels from the left belong to a foreground area because the pixels in the frame #n of the binary object picture are 1s, the corresponding pixels in the frame #n−1 are 1s, and the corresponding pixels in the frame #n+1 are 1s.

[0284] The temporal change detection unit 123 determines that the fourteenth to the seventeenth pixels from the left belong to a covered background area because the pixels in the frame #n of the binary object picture are 1s and the corresponding pixels in the frame #n−1 are 0s.

[0285] The temporal change detection unit 123 determines that the eighteenth to the twenty-first pixels from the left belong to a background area because the corresponding pixels in the frame #n of the binary object picture are 0s.

[0286] Next, the process for specifying areas by the area specifying unit 103 will be described with reference to a flowchart in FIG. 30. In step S111, based on the input picture, the background picture generation unit 121 of the area specifying unit 103 extracts, for example, a picture object corresponding to a background object included in the input picture to generate a background picture, and supplies the background picture thus generated to the binary object picture extraction unit 122.

[0287] In step S112, the binary object picture extraction unit 122 calculates a correlation value between the input picture and the background picture supplied from the background picture generation unit 121, for example, by the calculation described with reference to FIGS. 26A and 26B. In step S113, the binary object picture extraction unit 122 calculates a binary object picture from the correlation value and the threshold value th0, for example, by comparing the correlation value with the threshold value th0.

[0288] In step S114, the temporal change detection unit 123 executes the process for determining areas, and the process is exited.

[0289] The process for determining areas, corresponding to step S114, will be described in detail with reference to a flowchart in FIG. 31. In step S121, the area decision unit 142 of the temporal change detection unit 123 determines whether a pixel under consideration in the frame #n stored in the frame memory 141 is a 0. If it is determined that the pixel under consideration in the frame #n is a 0, the process proceeds to step S122, in which the pixel under consideration in the frame #n is set as belonging to a background area, and the process is exited.

[0290] If it is determined in step S121 that the pixel under consideration in the frame #n is a 1, the process proceeds to step S123, in which the area decision unit 142 of the temporal change detection unit 123 determines whether the pixel under consideration in the frame #n stored in the frame memory 141 is a 1 and whether the corresponding pixel in the frame #n−1 is a 0. If it is determined that the pixel under consideration in the frame #n is a 1 and that the corresponding pixel in the frame #n−1 is a 0, the process proceeds to step S124, in which the pixel under consideration in the frame #n is set as belonging to a covered background area, and the process is exited.

[0291] If it is determined in step S123 that the pixel under consideration in the frame #n is a 0 or that the corresponding pixel in the frame #n−1 is a 1, the process proceeds to step S125, in which the area decision unit 142 of the temporal change detection unit 123 determines whether the pixel under consideration in the frame #n stored in the frame memory 141 is a 1 and whether the corresponding pixel in the frame #n+1 is a 0. If it is determined that the pixel under consideration in the frame #n is a 1 and that the corresponding pixel in the frame #n+1 is a 0, the process proceeds to step S126, in which the pixel under consideration in the frame #n is set as belonging to an uncovered background area, and the process is exited.

[0292] If it is determined in step S125 that the frame under consideration in the frame #n is a 0 or that the corresponding pixel in the frame #n+1 is a 1, the process proceeds to step S127, in which the area decision unit 142 of the temporal change detection unit 123 sets the pixel under consideration in the frame #n as a foreground area, and the process is exited.

[0293] As described above, the area specifying unit 103 is capable of specifying, based on the correlation values between the input picture and the corresponding background picture, to which of a foreground area, a background area, a covered background area, or an uncovered background area each pixel of the input picture belongs and thereby generating area information in accordance with the specified results.

[0294]FIG. 34 is a block diagram showing another construction of the area specifying unit 103. The area specifying unit 103 shown in FIG. 34 uses the motion vector supplied from the motion detection unit 102 and its position information. Parts that are the same as in FIG. 22 are denoted by the same numbers, and descriptions thereof will be omitted.

[0295] A robustization unit 151 generates a robustized binary object picture based on the binary object pictures of N frames, supplied from the binary object picture extraction unit 122, and outputs it to the temporal change detection unit 123.

[0296]FIG. 35 is a block diagram showing a construction of the robustization unit 151. A motion compensation unit 161 motion-compensates the binary object pictures of the N frames based on the motion vector and its position information supplied from the motion detection unit 102, and outputs motion-compensated binary object pictures to a switch 162.

[0297] Motion compensation by the motion compensation unit 161 will be described with reference to examples in FIGS. 36 and 37. For example, when areas in the frame #n are determined, if binary object pictures of the frames #n−1, #n, and #n+1, an example of which is shown in FIG. 36, are input, the motion compensation unit 161, based on the motion vector supplied from the motion detection unit 102, motion-compensates the binary object picture of the frame #n−1 and the binary object picture of the frame #n+1, an example of which is shown in FIG. 37, and supplies the motion-compensated binary object pictures to the switch 162.

[0298] The switch 162 outputs the motion-compensated binary object picture of the first frame to a frame memory 163-1, and outputs the motion-compensated binary object picture of the second frame to a frame memory 163-2. Similarly, the switch 162 outputs each of the motion-compensated binary object pictures of the third to the (N−1)-th frames to one of frame memories 163-3 to 163-(N−1), and outputs the motion-compensated binary object picture of the N-th frame to a frame memory 163-N.

[0299] The frame memory 163-1 stores the motion-compensated binary object picture of the first frame, and outputs the stored binary object picture to a weighting unit 164-1. The frame memory 163-2 stores the motion-compensated binary object picture of the second frame, and outputs the stored binary object picture to a weighting unit 164-2.

[0300] Similarly, each of the frame memories 163-3 to 163-(N−1) stores one of the motion-compensated binary object pictures of the third to the (N−1)-th frames, and outputs the stored binary object picture to one of weighting units 164-3 to 164-(N−1). The frame memory 163-N stores the motion-compensated binary object picture of the N-th frame, and outputs the stored binary object picture to a weighting unit 164-N.

[0301] The weighting unit 164-1 multiplies the pixel values of the motion-compensated binary object picture of the first frame, supplied from the frame memory 163-1, by a predetermined weight w1, and supplies the result to an accumulation unit 165. The weighting unit 164-2 multiplies the pixel values of the motion-compensated binary object picture of the second frame, supplied from the frame memory 163-2, by a predetermined weight w2, and supplies the result to the accumulation unit 165.

[0302] Similarly, each of the weighting units 164-3 to 164-(N−1) multiplies the pixel values of one of the motion-compensated binary object pictures of the third to the (N−1)-th frames, supplied from one of the frame memories 163-3 to 163-(N−1), by one of predetermined weights w3 to w(N−1), and supplies the result to the accumulation unit 165. The weighting unit 164-N multiplies the pixel values of the motion-compensated binary object picture of the N-th frame, supplied from the frame memory 163-N, by a predetermined weight wN, and supplies the result to the accumulation unit 165.

[0303] The accumulation unit 165 accumulates the corresponding pixel values of the binary object pictures of the first to the N-th frames, having been motion-compensated and each having been multiplied by one of the weights w1 to wN, and compares the accumulated pixel values with a predetermined threshold value th0, thereby generating a binary object picture.

[0304] As described above, the robustization unit 151 generates a robustized binary object picture from N binary object pictures, and supplies it to the temporal change detection unit 123. Accordingly, even if the input picture includes noise, the area specifying unit 103 having the construction shown in FIG. 34 is capable of specifying areas more accurately compared with the case shown in FIG. 22.

[0305] Next, the process for specifying areas by the area specifying unit 103 having the construction shown in FIG. 34 will be described with reference to a flowchart in FIG. 38. The processes in steps S131 to S133 are the same as those in steps S111 to S113, respectively, described with the flowchart in FIG. 32, and thus descriptions thereof will be omitted.

[0306] In step S134, the robustization unit 151 executes a robustization process.

[0307] In step S135, the temporal change detection unit 123 executes an area decision process, and the process is exited. The details of the process in step S135 are the same as those in the process described with reference to the flowchart in FIG. 33, and thus descriptions thereof will be omitted.

[0308] Next, with reference to a flowchart shown in FIG. 39, a robustization process, corresponding to the process in step S134 in FIG. 38, will be described. In step S141, the motion compensation unit 161 executes a motion compensation process for a binary object picture that has been input, based on the motion vector and its position information supplied from the motion detection unit 102. In step S142, one of the frame memories 163-1 to 163-N stores the motion-compensated binary object picture supplied via the switch 162.

[0309] In step S143, the robustization unit 151 determines whether N binary object pictures have been stored. If it is determined that N binary object pictures have not been stored, the process returns to step S141, repeating the process for motion-compensating a binary object picture and the process for storing the binary object picture.

[0310] If it is determined in step S143 that N binary object pictures have been stored, the process proceeds to step S144, in which each of the weighting units 164-1 to 164-N multiplies each of the N binary object pictures with one of the weights w1 to wN for weighting.

[0311] In step S145, the accumulation unit 165 accumulates the weighted N binary objected pictures.

[0312] In step S146, the accumulation unit 165 generates a binary object picture from the accumulated picture, for example, by a comparison with a predetermined threshold value th1, and the process is exited.

[0313] As described above, the area specifying unit 103 having the construction shown in FIG. 34 is capable of generating area information based on a robustized binary object picture.

[0314] As described above, the area specifying unit 103 is capable of generating area information for each pixel included in a frame, indicating to which of a moving area, a still area, an uncovered background area, or a covered background area the pixel belongs.

[0315] The area specifying unit 103 may apply a logic OR operation on area information corresponding to an uncovered background area and area information corresponding to a covered background area to generate area information corresponding to a mixed area, generating area information for each pixel included in a frame, consisting of a flag indicating to which of a moving area, a still area, or a mixed area the pixel belongs.

[0316] The area specifying unit 103 is capable of outputting area information indicating a moving area as area information indicating a foreground area, and area information indicating a still area as area information indicating a background area.

[0317]FIG. 40 is a block diagram showing an example construction of the mixing ratio calculating unit 104. An estimated mixing ratio processor 201 calculates, based on the input picture, an estimated mixing ratio for each pixel by a calculation corresponding to the model of covered background area, and supplies the estimated mixing ratio thus calculated to a mixing ratio decision unit 203.

[0318] An estimated mixing ratio processor 202 calculates, based on the input picture, an estimated mixing ratio for each pixel by a calculation corresponding to the model of uncovered background area, and supplies the estimated mixing ratio thus calculated to the mixing ratio decision unit 203.

[0319] Since the object corresponding to the foreground can be assumed as moving at a constant velocity during the shutter time, the mixing ratio α of a pixel belonging to a mixed area has the following properties. That is, the mixing ratio α changes linearly in accordance with change in the pixel position. If the change in the pixel position is one dimensional, the change in the mixing ratio α can be represented as a linear line; whereas is the change in the pixel position is two dimensional, the change in the mixing ratio α can be represented as a plane.

[0320] Since one frame is a short period of time, the object corresponding to the foreground can be assumed as a rigid body moving at a constant velocity.

[0321] In this case, the tilt of the mixing ratio α is the inverse ratio of the amount of movement v of the foreground.

[0322]FIG. 41 shows an example of ideal mixing ratio α. The tilt 1 of the ideal mixing ratio α in a mixed area can be represented as a reciprocal of the amount of movement v.

[0323] As shown in FIG. 41, the ideal mixing ratio α has a value of one in a background area, a value of zero in a foreground area, and a value greater than zero and smaller than one in a mixed area.

[0324] In an example shown in FIG. 42, the pixel value C06 of the seventh pixel from the left in the frame #n can be represented by equation (8) using the pixel value P06 of the seventh pixel from the left in the frame #n−1: $\begin{matrix} \begin{matrix} {{C06} = {{{B06}/v} + {{B06}/v} + {{F01}/v} + {{F02}/v}}} \\ {= {{{P06}/v} + {{P06}/v} + {{F01}/v} + {{F02}/v}}} \\ {= {{{2/v} \cdot {P06}} + {\sum\limits_{i = 1}^{2}\quad {{Fi}/v}}}} \end{matrix} & (8) \end{matrix}$

[0325] In equation (8), the pixel value C06 is denoted as a pixel value M of a pixel in a mixed area, while the pixel value P06 is denoted as a pixel value B of a pixel in a background area. That is, the pixel value M of the pixel in the mixed area and the pixel value B of the pixel in the background can be expressed by equations (9) and (10), respectively:

M=C06  (9)

B=P06  (10)

[0326] In equation (8), 2/v corresponds to the mixing ratio α. Since the amount of movement v is four, the mixing ratio α for the seventh pixel from the left in the frame #n is 0.5.

[0327] By considering a pixel value C of the frame #n under consideration as a pixel value of the mixed area and a pixel value P of the frame #n−1 preceding the frame #n as a pixel value of the background area, equation (3) indicating the mixing ratio α can be rewritten as equation (11):

C=α·P+f  (11)

[0328] In equation (11), f denotes Σ_(i)Fi/v, the sum of foreground components included in the pixel under consideration. In equation (11), two variables are included; namely, the mixing ratio α and the sum f of foreground components.

[0329] Similarly, FIG. 43 shows a model in which pixel values are expanded along the temporal direction, with the amount of movement v in an uncovered background area being four and the virtual split number along the temporal direction being four.

[0330] In the uncovered background area, similarly to the expression for the covered background area described above, by considering a pixel value C of the frame #n under consideration as a pixel value in the mixed area and a pixel value N of the frame #n+1 next to the frame #n as a pixel value of the background area, equation (3) indicating the mixing ratio α can be expressed as equation (12):

C=α·N+f  (12)

[0331] Although the description has been made assuming that the background object is still, even if the background object is moving, equations (8) to (12) can be applied by using the pixel values of pixels corresponding to the amount of movement v of the background. For example, in FIG. 42, if the amount of movement v of the object corresponding to the background is two and if the virtual split number is two, when the object corresponding to the background is moving rightwards as viewed in the figure, the pixel value B of a pixel in the background area in equation (10) will be a pixel value P04.

[0332] Since equations (11) and (12) each include two variables, the mixed ratio α cannot be obtained directly. Since pictures generally exhibit high degrees of spatial correlation, pixels in proximity to each other have substantially the same pixel values.

[0333] Since foreground components exhibit a high spatial correlation, the mixing ratio α is obtained by modifying the equation so that the sum f of foreground components can be derived from the preceding frame or the next frame. The pixel value Mc of the seventh pixel from the left in the frame #n in FIG. 44 can be expressed by equation (13): $\begin{matrix} {{M\quad c} = {{\frac{2}{v} \cdot {B06}} + {\sum\limits_{i = 11}^{12}\quad {{Fi}/v}}}} & (13) \end{matrix}$

[0334] The first term 2/v on the right side of equation (13) corresponds to the mixing ratio α. The second term on the right side of equation (13) can be expressed by equation (14) using the pixel value in the subsequent frame #n+1: $\begin{matrix} {{\sum\limits_{i = 11}^{12}\quad {{Fi}/v}} = {\beta \cdot {\sum\limits_{i = 7}^{10}{{Fi}/v}}}} & (14) \end{matrix}$

[0335] Using spatial correlation of the foreground components, let it be assumed that equation (15) holds:

F=F05=F06=F07=F08=F09=F10=F11=F12  (15)

[0336] Using equation (15), equation (14) can be rewritten as equation (16): $\begin{matrix} {{\sum\limits_{i = 11}^{12}\quad {{Fi}/v}} = {{\frac{2}{v} \cdot F}\quad = {\beta \cdot \frac{4}{v} \cdot F}}} & (16) \end{matrix}$

[0337] Accordingly, β can be expressed by equation (17):

β=2/4  (17)

[0338] In general, assuming that the foreground components associated with the mixed area are equal, by the relationship of internal ratios, equation (18) holds for every pixel in the mixed area:

β=1−α  (18)

[0339] If equation (18) holds, equation (11) can be expanded as expressed by equation (19): $\begin{matrix} {C = {{{\alpha \cdot P} + f}\quad = {{{\alpha \cdot P} + {\left( {1 - \alpha} \right) \cdot {\sum\limits_{i = \gamma}^{\gamma + V - 1}\quad {{Fi}/v}}}}\quad = {{\alpha \cdot P} + {\left( {1 - \alpha} \right) \cdot N}}}}} & (19) \end{matrix}$

[0340] Similarly, if equation (18) holds, equation (12) can be expanded as expressed by equation (20): $\begin{matrix} {C = {{{\alpha \cdot N} + f}\quad = {{{\alpha \cdot N} + {\left( {1 - \alpha} \right) \cdot {\sum\limits_{i = \gamma}^{\gamma + V - 1}\quad {{Fi}/v}}}}\quad = {{\alpha \cdot N} + {\left( {1 - \alpha} \right) \cdot P}}}}} & (20) \end{matrix}$

[0341] In equations (19) and (20), since C, N, and P are known pixel values, the only variable included in equations (19) and (20) is the mixing ratio α. The relationships among C, N, and P in equations (19) and (20) are shown in FIG. 45. C is the pixel value of a pixel under consideration in the frame #n, for which the mixing ratio α is calculated. N is the pixel value of a pixel in the frame #n+1, which corresponds in position along the spatial direction to that of the pixel under consideration. P is the pixel value of a pixel in the frame #n−1, which corresponds in position along the spatial direction to that of the pixel under consideration.

[0342] Thus, since equations (19) and (20) each include one variable, the mixing ratio α can be calculated using the pixel values of the pixels in the three frames. The condition for the correct mixing ratio α to be calculated by solving equations (19) and (20) is that the foreground components associated with the mixed area are equal; that is, in a foreground picture object captured when a foreground object is still, the pixel values of twice the number of contiguous pixels as the amount of movement v, that are positioned at a boundary of the picture object associated with the direction of movement of the foreground object, are constant.

[0343] Thus, the mixing ratio α of pixels belonging to a covered background area is calculated by equation (21), while the mixing ratio α of pixels belonging to an uncovered background area is calculated by equation (22):

α=(C−N)/(P−N)  (21)

α=(C−P)/(N−P)  (22)

[0344]FIG. 46 is a block diagram showing a construction of the estimated mixing ratio processor 201. A frame memory 221 stores pictures input thereto, frame by frame, and supplies a frame next to a frame input as an input picture, to a frame memory 222 and to a mixing ratio calculating unit 223.

[0345] The frame memory 222 stores pictures input thereto, frame by frame, and supplies a frame next to the frame supplied from the frame memory 221, to the mixing ratio calculating unit 223.

[0346] Thus, when the frame #n+1 is being input to the mixing ratio calculating unit 223 as an input picture, the frame memory 221 supplies the frame #n to the mixing ratio calculating unit 223, and the frame memory 222 supplies the frame #n−1 to the mixing ratio calculating unit 223.

[0347] The mixing ratio calculating unit 223 calculates an estimated mixing ratio of a pixel under consideration in the frame #n by a calculation expressed in equation (21), based on the pixel value C of the pixel under consideration in the frame #n, the pixel value N of the pixel in the frame #n+1 corresponding in spatial position to the pixel under consideration, and the pixel value P of the pixel in the frame #n−1 corresponding in spatial position to the pixel under consideration, and outputs the estimated mixing ratio thus calculated. For example, if the background is still, the mixing ratio calculating unit 223 calculates the estimated mixing ratio of the pixel under consideration in the frame #n based on the pixel value C of the pixel under consideration in the frame #n, the pixel value N of the pixel in the frame #n+1 at the same position in the frame as the pixel under consideration, and the pixel value P of the pixel in the frame #n−1 at the same position in the frame as the pixel under consideration, and outputs the estimated mixing ratio thus calculated.

[0348] As described above, the estimated mixing ratio processor 201 is capable of calculating an estimated mixing ratio based on an input picture and supplying it to the mixing ratio decision unit 203.

[0349] The estimated mixing ratio processor 202 is the same as the estimated mixing ratio processor 201 except that while the estimated mixing ratio processor 201 calculates an estimated mixing ratio of a pixel under consideration by a calculation expressed by equation (21), the estimated mixing ratio processor 202 calculates an estimated mixing ratio of a pixel under consideration by a calculation expressed by equation (22), and thus description thereof will be omitted.

[0350]FIG. 47 is a diagram showing an example of estimated mixing ratio calculated by the estimated mixing ratio processor 201. The estimated mixing ratio shown in FIG. 47 shows the result for one line in a case where the amount of movement v of the foreground corresponding to an object moving at a constant velocity is eleven.

[0351] As will be understood from FIG. 41, the estimated mixing ratio is changing substantially linearly in the mixed area.

[0352] Referring back to FIG. 40, the mixing ratio decision unit 203 sets a mixing ratio α based on the area information supplied from the area specifying unit 103, indicating to which of a foreground area, a background area, a covered background area, or an uncovered background area the pixel for which the mixing ratio α is to be calculated belongs. The mixing ratio decision unit 203 sets zero as the mixing ratio α if the pixel under consideration belongs to a foreground area, sets one as the mixing ratio α if the pixel under consideration belongs to a background area, sets the estimated mixing ratio supplied from the estimated mixing ratio processor 201 as the mixing ratio α if the pixel under consideration belongs to a covered background area, and sets the estimated mixing ratio supplied from the estimated mixing ratio processor 202 as the mixing ratio α if the pixel under consideration belongs to an uncovered background area. The mixing ratio decision unit 203 outputs the mixing ratio α that has been set based on the area information.

[0353]FIG. 48 is a block diagram showing another construction of the mixing ratio calculating unit 104. A selection unit 231 supplies, based on the area information supplied from the area specifying unit 103, a pixel belonging to a covered background area and a corresponding pixel in the preceding and the subsequent frames to an estimated mixing ratio processor 232. The selection unit 231 supplies, based on the area information supplied from the area specifying unit 103, a pixel belonging to an uncovered background area and a corresponding pixel in the preceding and the subsequent frames to an estimated mixing ratio processor 233.

[0354] The estimated mixing ratio processor 232 calculates an estimated mixing ratio for the pixel under consideration belonging to the covered background area, by a calculation expressed by equation (21) based on the pixel value input from the selection unit 231, and supplies the estimated mixing ratio thus calculated to a selection unit 234.

[0355] The estimated mixing ratio processor 233 calculates an estimated mixing ratio for the pixel under consideration belonging to the uncovered background area, by a calculation expressed by equation (22) based on the pixel value input from the selection unit 231, and supplies the estimated mixing ratio thus calculated to the selection unit 234.

[0356] Based on the area information supplied from the area specifying unit 103, the selection unit 234 selects and sets an estimated mixing ratio of zero as the mixing ratio α if the pixel under consideration belongs to a foreground area, whereas it selects and sets an estimated mixing ratio of one as the mixing ratio α if the pixel under consideration belongs to a background area. The selection unit 234 selects and sets the estimated mixing ratio supplied from the estimated mixing ratio processor 232 as the mixing ratio α if the pixel under consideration belongs to a covered background area, whereas it selects and sets the estimated mixing ratio supplied from the estimated mixing ratio processor 233 as the mixing ratio α if the pixel under consideration belongs to an uncovered background area. The selection unit 234 outputs the mixing ratio α that has been selected and set based on the area information.

[0357] As described above, the mixing ratio calculating unit 104 having another construction shown in FIG. 48 is capable of calculating a mixing ratio α for each of the pixels included in a picture and outputting the mixing ratio α thus calculated.

[0358] With reference to a flowchart in FIG. 49, a process for calculating a mixing ratio α by the mixing ratio calculating unit 104 having the construction shown in FIG. 40 will be described. In step S151, the mixing ratio calculating unit 104 acquires the area information supplied from the area specifying unit 103. In step S152, the estimated mixing ratio processor 201 calculates an estimated mixing ratio using a model associated with covered background area, and supplies the estimated mixing ratio thus calculated to the mixing ratio decision unit 203. The process for calculating the estimated mixing ratio will be described later in detail with reference to a flowchart in FIG. 50.

[0359] In step S153, the estimated mixing ratio processor 202 calculates an estimated mixing ratio using a model associated with covered background area, and supplies the estimated mixing ratio thus calculated to the mixing ratio decision unit 203.

[0360] In step S154, the mixing ratio calculating unit 104 determines whether the mixing ratio α has been estimated for the entire frame. If it is determined that the mixing ratio α has not been estimated for the entire frame, the process returns to step S152, executing the process for estimating the mixing ratio α for a next pixel.

[0361] If it is determined in step S154 that the mixing ratio α has been estimated for the entire frame, the process proceeds to step S155, in which the mixing ratio decision unit 203 sets a mixing ratio α based on the area information supplied from the area specifying unit 103, indicating to which of a foreground area, a background area, a covered background area, or an uncovered background area a pixel belongs. The mixing ratio decision unit 203 sets zero as the mixing ratio α if the pixel under consideration belongs to a foreground area, sets one as the mixing ratio α if the pixel under consideration belongs to a background area, sets the estimated mixing ratio supplied from the estimated mixing ratio processor 201 if the pixel under consideration belongs to a covered background area, and sets the estimated mixing ratio supplied from the estimated mixing ratio processor 202 if the pixel under consideration belongs to an uncovered background area, and then the process is exited.

[0362] As described above, the mixing ratio calculating unit 104 is capable of calculating a mixing ratio α, which is an amount characteristic of each pixel, based on the area information supplied from the area specifying unit 103 and the input picture.

[0363] A process for calculating a mixing ratio α by the mixing ratio calculating unit 104 having the construction shown in FIG. 48 is the same as the process described with the flowchart in FIG. 49, and thus description thereof will be omitted.

[0364] Next, a process corresponding to step S152 in FIG. 49, for estimating a mixing ratio using a model associated with covered background area, will be described with reference to a flowchart in FIG. 50.

[0365] In step S171, the mixing ratio calculating unit 223 acquires the pixel value C of a pixel under consideration in the frame #n from the frame memory 221.

[0366] In step S172, the mixing ratio calculating unit 223 acquires the pixel value P of a pixel in the frame #n−1 corresponding to the pixel under consideration from the frame memory 222.

[0367] In step S173, the mixing ratio calculating unit 223 acquires the pixel value N of a pixel in the frame #n+1 corresponding to the pixel under consideration included in the input picture.

[0368] In step S174, the mixing ratio calculating unit 223 calculates an estimated mixing ratio based on the pixel value C of the pixel under consideration in the frame #n, the pixel value P of the pixel in the frame #n−1, and the pixel value N of the pixel in the frame #n+1.

[0369] In step S175, the mixing ratio calculating unit 223 determines whether the process for calculating an estimated mixing ratio has been completed for the entire frame. If it is determined that the process for calculating an estimated mixing ratio has not been completed for the entire frame, the process returns to step S171, repeating the process for calculating an estimated mixing ratio for a next pixel.

[0370] If it is determined in step S175 that the process for calculating an estimated mixing ratio has been completed for the entire frame, the process is exited.

[0371] As described above, the estimated mixing ratio processor 201 is capable of calculating an estimated mixing ratio based on the input picture.

[0372] A process for estimating a mixing ratio using the model associated with uncovered background area in step S153 in FIG. 49 is the same as the process using the equation associated with the model for uncovered background area, shown in the flowchart in FIG. 50, and thus description thereof will be omitted.

[0373] Since the estimated mixing ratio processor 232 and the estimated mixing ratio processor 233 shown in FIG. 48 calculate an estimated mixing ratio by executing the same process as in the flowchart shown in FIG. 50, and thus description thereof will be omitted.

[0374] Furthermore, although the description has been made in relation to an object corresponding to a background being still, the above-described process for calculating a mixing ratio α can also be applied even if a picture corresponding to a background includes motion. For example, if a picture corresponding to a background area is moving uniformly, the estimated mixing ratio processor 201 shifts the entire picture in accordance with the movement of the background, and performs the same process as the case of an object corresponding to a background being still. If the picture corresponding to the background area includes movements that differ locally, the estimated mixing ratio processor 201 selects a pixel in accordance with a movement of the background as a pixel corresponding to a pixel belonging to a mixed area, and executes the above-described process.

[0375] The constructions of the mixing ratio calculating unit I04 shown in FIGS. 40 and 48 are examples.

[0376] The mixing ratio calculating unit 104 may alternatively execute only the process for estimating a mixing ratio using the model associated with covered background area for each of the pixels, outputting the estimated mixing ratio thus calculated as the mixing ratio α. In that case, the mixing ratio α indicates the proportion of background components for a pixel belonging to a covered background area and indicates the proportion of foreground components for a pixel belonging to an uncovered background area. By calculating the absolute value of the difference between the mixing ratio α thus calculated and 1 and setting the absolute value thus calculated as the mixing ratio α, the signal processor 12 can obtain the mixing ratio α indicating the proportion of background components for a pixel belonging to an uncovered background area.

[0377] Similarly, the mixing ratio calculating unit 104 may execute only the process for estimating a mixing ratio using a model associated with uncovered background area for each of the pixels, outputting the estimated mixing ratio thus calculated as the mixing ratio α.

[0378] Next, the foreground/background separation unit 105 will be described. FIG. 51 is a block diagram showing an example construction of the foreground/background separation unit 105. An input picture supplied to the foreground/background separation unit 105 is supplied to a separation unit 251, a switch 252, and to a switch 254. Information indicating a covered background area, and area information indicating an uncovered background area, supplied from the area specifying unit 103, are supplied to the separation unit 251. Information indicating a foreground area is supplied to the switch 252. Information indicating a background area is supplied to the switch 254.

[0379] The mixing ratio α supplied from the mixing ratio calculating unit 104 is supplied to the separation unit 251.

[0380] The separation unit 251 separates foreground components from the input picture based on the area information indicating a covered background area, the area information indicating an uncovered background area, and the mixing ratio α, and supplies the separated foreground components to a synthesis unit 253, and also separates background components from the input picture and supplies the separated background components to a synthesis unit 255.

[0381] The switch 252 is closed when a pixel corresponding to the foreground is input based on the area information indicating a foreground area, supplying only pixels corresponding to the foreground included in the input picture to the synthesis unit 253.

[0382] The switch 254 is closed when a pixel corresponding to the background is input based on the area information indicating a background area, supplying only pixels corresponding to the background included in the input picture to the synthesis unit 255.

[0383] The synthesis unit 253 synthesizes a foreground component picture based on the components corresponding to the foreground supplied from the separation unit 251 and the pixels corresponding to the foreground supplied from the switch 252, outputting the synthesized foreground component picture. Since the foreground area and the mixed area do not overlap, for example, the synthesis unit 253 applies a logic OR operation on the components corresponding to the foreground and the pixels corresponding to the foreground to synthesize the foreground component picture.

[0384] In an initialization process executed at the beginning of the process for synthesizing the foreground component picture, the synthesis unit 253 stores a picture with pixel values of all 0s in an internal frame memory, and stores (overwrites) the foreground component picture in the process for synthesizing the foreground component picture. Thus, in the foreground component picture output by the synthesis unit 253, pixel values of 0s are set in the pixels corresponding to the background area.

[0385] The synthesis unit 255 synthesizes a background component picture based on the components corresponding to the background supplied from the separation unit 251 and the pixels corresponding to the background supplied from the switch 254, outputting the synthesized background component picture. Since the background area and the mixed area do not overlap, for example, the synthesis unit 255 applies a logic OR operation on the components corresponding to the background and the pixels corresponding to the background to synthesize the foreground component picture.

[0386] In an initialization process executed at the beginning of the process for synthesizing the background component picture, the synthesis unit 255 stores a picture with pixel values of all 0s in an internal frame memory, and stores (overwrites) the background component picture in the process for synthesizing the background component picture. Thus, in the background component picture output by the synthesis unit 255, pixel values of 0s are set in the pixels corresponding to the foreground area.

[0387]FIG. 52A is a schematic diagram of a picture being displayed, and FIG. 52B is a model diagram corresponding to FIG. 52A, in which a line of pixels, including pixels belonging to a fore foreground area, pixels belonging to a background area, and pixels belonging to a mixed area, are expanded along the temporal direction.

[0388] As shown in FIGS. 52A and 52B, the background component picture output from the foreground/background separation unit 105 is made up of pixels belonging to the background area and background components included in pixels of the mixed area.

[0389] As shown in FIGS. 52A and 52B, the foreground component picture output from the foreground/background separation unit 105 is made up of pixels belonging to the foreground area and foreground components included in pixels of the mixed area.

[0390] The pixel values of the pixels of the mixed area are separated by the foreground/background separation unit 105 into background components and foreground components. The separated background components constitute the background component picture together with the pixels belonging to the background area. The separated foreground components constitute the foreground component picture together with the pixels belonging to the foreground area.

[0391] As described above, in the foreground component picture, the pixel values of the pixels corresponding to the background area are set to 0, while meaningful pixel values are set in the pixels corresponding to the foreground area and to the pixels corresponding to the mixed area. Similarly, in the background component picture, the pixel values of the pixels corresponding to the foreground area are set to 0, while meaningful pixel values are set in the pixels corresponding to the background area and to the pixels corresponding to the mixed area.

[0392] Next, a process for separating foreground components and background components from pixels belonging to a mixed area, executed by the separation unit 251, will be described.

[0393]FIG. 53 is a picture model showing foreground components and background components of two frames, including a foreground corresponding to an object moving from left to right as viewed in the figure. In the picture model shown in FIG. 53, the amount of movement v of the foreground is four, and the virtual split number is four.

[0394] In the frame #n, the leftmost pixel, and the fourteenth to the eighteenth pixels from the left are made up only of background components, and belong to a background area. In the frame #n, the second to the fourth pixels from the left include background components and foreground components, and belong to an uncovered background area. In the frame #n, the eleventh to the thirteenth pixels from the left include background components and foreground components, and belong to a covered background area. In the frame #n, the fifth to the tenth pixels from the left are made up only of foreground components, and belong to a foreground area.

[0395] In the frame #n+1, the first to the fifth pixels, and the eighteenth pixel from the left are made up only of background components, and belong to a background area. In the frame #n+1, the sixth to the eighth pixels from the left include background components and foreground components, and belong to an uncovered background area. In the frame #n+1, the fifteenth to the seventeenth pixels from the left include background components and foreground components, and belong to a covered background area. In the frame #n+1, the ninth to the fourteenth pixels from the left are made up only of foreground components, and belong to a foreground area.

[0396]FIG. 54 is a diagram showing a process for separating foreground components from pixels belonging to a covered background area. In FIG. 54, α1 to α18 denotes mixing ratios respectively corresponding to the pixels in the frame #n. In FIG. 54, the fifteenth to the seventeenth pixels from the left belong to a covered background area.

[0397] The pixel value C15 of the fifteenth pixel from the left in the frame #n can be expressed by equation (23): $\begin{matrix} {{C15} = {{{{B15}/v} + {{F09}/v} + {{F08}/v} + {{F07}/v}}\quad = {{{{\alpha 15} \cdot {B15}} + {{F09}/v} + {{F08}/v} + {{F07}/v}}\quad = {{{\alpha 15} \cdot {P15}} + {{F09}/v} + {{F08}/v} + {{F07}/v}}}}} & (23) \end{matrix}$

[0398] α15 is the mixing ratio of the fifteenth pixel from the left in the frame #n. P15 is the pixel value of the fifteenth pixel from the left in the frame #n−1.

[0399] Based on equation (23), the sum f15 of foreground components of the fifteenth pixel from the left in the frame #n can be expressed by equation (24): $\begin{matrix} \begin{matrix} {{f15} = {{{F09}/v} + {{F08}/v} + {{F07}/v}}} \\ {{= {{C15} - {\alpha \quad {15 \cdot {P15}}}}}} \end{matrix} & (24) \end{matrix}$

[0400] Similarly, the sum f16 of foreground components of the sixteenth pixel from the left in the frame #n can be expressed by equation (25), and the sum f17 of foreground components of the seventeenth pixel from the left in the frame #n can be expressed by equation (26):

f16=C16−α16,P16  (25)

f17=C17−α17,P17  (26)

[0401] Thus, the foreground component fc included in the pixel value C of a pixel belonging to a covered background area can be calculated by equation (27):

fc=C−α·P  (27)

[0402] P is the pixel value of the corresponding pixel in the immediately preceding frame.

[0403]FIG. 55 is a diagram showing a process for separating foreground components from pixels belonging to an uncovered background area. In FIG. 55, α1 to α18 denotes mixing ratios respectively corresponding to the pixels in the frame #n. In FIG. 55, the second to the fourth pixels from the left belong to an uncovered background area.

[0404] The pixel value C02 of the second pixel from the left in the frame #n can be expressed by equation (28): $\begin{matrix} \begin{matrix} {{C02} = {{{B02}/v} + {{B02}/v} + {{B02}/v} + {{F01}/v}}} \\ {{= {{{\alpha 2} \cdot {B02}} + {{F01}/v}}}} \\ {{= {{{\alpha 2} \cdot {N02}} + {{F01}/v}}}} \end{matrix} & (28) \end{matrix}$

[0405] α2 is the mixing ratio of the second pixel from the left in the frame #n. N02 is the pixel value of the second pixel from the left in the frame #n+1.

[0406] Based on equation (28), the sum f02 of foreground components of the second pixel from the left in the frame #n can be expressed by equation (29): $\begin{matrix} \begin{matrix} {{f02} = {{F01}/v}} \\ {{= {{C02} - {{\alpha 2} \cdot {N02}}}}} \end{matrix} & (29) \end{matrix}$

[0407] Similarly, the sum f03 of foreground components of the third pixel from the left in the frame #n can be expressed by equation (30), and the sum f04 of foreground components of the fourth pixel from the left in the frame #n can be expressed by equation (31):

f03=C03−α3·N03  (30)

f04=C04−α4·N04  (31)

[0408] Thus, the foreground component fu included in the pixel value C of a pixel belonging to an uncovered background area can be calculated by equation (32):

fu=C−α·N  (32)

[0409] N is the pixel value of the corresponding pixel in the next frame.

[0410] As described above, the separation unit 251 is capable of separating foreground components and background components from pixels belonging to a mixed area, based on information indicating a covered background area and information indicating an uncovered background area, included in the area information, and the mixing ratio α for each of the pixels.

[0411]FIG. 56 is a block diagram showing an example construction of the separation unit 251 that executes the above-described process. A picture input to the separation unit 251 is supplied to a frame memory 301, and the area information indicating a covered background area and an uncovered background area, and the mixing ratio α supplied from the mixing ratio calculating unit 104 are input to a separation process block 302.

[0412] The frame memory 301 stores the input picture on a frame basis. When the frame #n is to be processed, the frame memory 301 stores the frame #n−1 immediately preceding the frame #n, the frame #n, and the frame #n+1 next to the frame #n.

[0413] The frame memory 301 supplies the corresponding pixels of the frames #n−1, #n, and #n+1 to the separation process block 302.

[0414] Based on the area information indicating a covered background area and an uncovered background area information, and the mixing ratio α, the separation process block 302 separates foreground components and background components from the pixels belonging to the mixed area in the frame #n by applying the calculations described with reference to FIGS. 54 and 55 on the pixel values of the corresponding pixels of the frames #n−1, #n, and #n+1 supplied from the frame memory 301, and supplies the results to a frame memory 303.

[0415] The separation process block 302 includes an uncovered area processor 311, a covered area processor 312, a synthesis unit 313, and a synthesis unit 314.

[0416] The uncovered area processor 311 includes a multiplier 321, which multiplies the pixel values of the pixels of the frame #n+1 supplied from the frame memory 301 by the mixing ratio α and which supplies the results to the switch 322. The switch 322 is closed when the pixels of the frame #n (corresponding to the pixels of the frame #n+1) supplied from the frame memory 301 belong to an uncovered background area, supplying the pixel values multiplied by the mixing ratio α, supplied from the multiplier 321, to a calculation unit 322 and to the synthesis unit 314. The pixel values of the pixel of the frame #n+1 output from the switch 322, multiplied by the mixing ratio α, are equal to the background components of the pixel values of the corresponding pixels of the frame #n.

[0417] The calculation unit 323 subtracts the background components supplied from the switch 322 from the pixel values of the pixels of the frame #n supplied from the frame memory 301, thereby obtaining the foreground components. The calculation unit 323 supplies the foreground components of the pixels of the frame #n, belonging to the uncovered background area, to the synthesis unit 313.

[0418] The covered area processor 312 includes a multiplier 331, which multiplies the pixel values of the pixels of the frame #n−1 supplied from the frame memory 301 by the mixing ratio α and which supplies the results to the switch 332. The switch 332 is closed when the pixels of the frame #n (corresponding to the pixels of the frame #n−1) supplied from the frame memory 301 belong to a covered background area, supplying the pixel values multiplied by the mixing ratio α, supplied from the multiplier 331, to a calculation unit 333 and to the synthesis unit 314. The pixel values of the pixel of the frame #n−1 output from the switch 332, multiplied by the mixing ratio α, are equal to the background components of the pixel values of the corresponding pixels of the frame #n.

[0419] The calculation unit 333 subtracts the background components supplied from the switch 332 from the pixel values of the pixels of the frame #n supplied from the frame memory 301, thereby obtaining the foreground components. The calculation unit 333 supplies the foreground components of the pixels of the frame #n, belonging to the covered background area, to the synthesis unit 313.

[0420] The synthesis unit 313 synthesizes the foreground components of the pixels belonging to the uncovered background area, supplied from the calculation unit 323, and the foreground components of the pixels belonging to the covered background area, supplied from the calculation unit 333, and supplies the result to the frame memory 303.

[0421] The synthesis unit 314 synthesizes the background components of the pixels belonging to the uncovered background area, supplied from the switch 322, and the background components of the pixels belonging to the covered background area, supplied from the switch 332, and supplies the result to the frame memory 303.

[0422] The frame memory 303 separately stores the foreground components and the background components of the pixels in the mixed area of the frame #n, supplied from the separation process block 302.

[0423] The frame memory 303 outputs the stored foreground components of the pixels in the mixed area of the frame #n and the stored background components of the pixels in the mixed area of the frame #n.

[0424] By using the mixing ratio α as a characteristic amount, the foreground components and the background components included in the pixel values can be completely separated.

[0425] The synthesis unit 253 synthesizes the foreground components of the pixels in the mixed area of the frame #n, output from the separation unit 251, and the pixels belonging to the foreground area, thereby generating a foreground component picture. The synthesis unit 255 synthesizes the background components of the pixels in the mixed area of the frame #n, output from the separation unit 251, and the pixels belonging to the background area, thereby generating a background component picture.

[0426]FIG. 57A shows an example of a foreground component picture corresponding to the frame #n in FIG. 53. FIG. 57B shows an example of a background component picture corresponding to the frame #n in FIG. 53.

[0427]FIG. 57A shows an example of a foreground component picture corresponding to the frame #n in FIG. 53. The leftmost pixel and the fourteenth pixel from the left were made up only of background components prior to the foreground/background separation, and thus the pixel values thereof are set to 0.

[0428] The second to the fourth pixels from the left belonged to the uncovered background area prior to the foreground/background separation, and thus the background components are set to 0 and the foreground components are left intact. The eleventh to the thirteenth pixels from the left belonged to the covered background area prior to the foreground/background separation, and thus the background components are set to 0 and the foreground components are left intact. The fifth to the tenth pixels from the left are made up only of foreground components and are thus left intact.

[0429]FIG. 57B shows an example of a background component picture corresponding to the frame #n in FIG. 53. The leftmost pixel and the fourteenth pixel from the left were made up only of background components prior to the foreground/background separation, and thus are left intact.

[0430] The second to the fourth pixels from the left belonged to the uncovered background area prior to the foreground/background separation, and thus the foreground components are set to 0 and the background components are left intact. The eleventh to the thirteenth pixel from the left belonged to the covered background area prior to the foreground/background separation, and thus the foreground components are set to 0 and the background components are left intact. The fifth to the tenth pixels from the left are made up only of foreground components, and thus the pixel values thereof are set to 0.

[0431] Next, a foreground/background separation process by the foreground/background separation unit 105 will be described with reference to a flowchart shown in FIG. 58. In step S201, the frame memory 301 of the separation unit 251 acquires an input picture and stores the frame #n to be processed for foreground/background separation, along with the preceding frame #n−1 and the next frame #n+1.

[0432] In step S202, the separation process block 302 of the separation unit 251 acquires the area information supplied from the mixing ratio calculating unit 104. In step S203, the separation process block 302 of the separation unit 251 acquires the mixing ratio α supplied from the mixing ratio calculating unit 104.

[0433] In step S204, based on the area information and the mixing ratio α, the uncovered area processor 311 extracts background components from the pixel values of the pixels belonging to the uncovered background area, supplied from the frame memory 301.

[0434] In step S205, based on the area information and the mixing ratio α, the uncovered area processor 311 extracts foreground components from the pixel values of the pixels belonging to the uncovered background area, supplied from the frame memory 301.

[0435] In step S206, based on the area information and the mixing ratio α, the covered area processor 312 extracts background components from the pixel values of the pixels belonging to the covered background area, supplied from the frame memory 301.

[0436] In step S207, based on the area information and the mixing ratio α, the covered area processor 312 extracts foreground components from the pixel values of the pixels belonging to the covered background area, supplied from the frame memory 301.

[0437] In step S208, the synthesis unit 313 synthesizes the foreground components belonging to the uncovered background area, extracted in the process of step S205, and the foreground components belonging to the covered background area, extracted in the process of step S207. The synthesized foreground components are supplied to the synthesis unit 253. Furthermore, the synthesis unit 253 synthesizes the pixels belonging to the foreground area, supplied via the switch 252, and the foreground components supplied from the separation unit 251, thereby generating a foreground component picture.

[0438] In step S209, the synthesis unit 314 synthesizes the background components belonging to the uncovered background area, extracted in the process of step S204, and the background components belonging to the covered background area, extracted in the process of step S206. The synthesized background components are supplied to the synthesis unit 255. Furthermore, the synthesis unit 255 synthesizes the pixels belonging to the background area, supplied via the switch 254, and the background components supplied from the separation unit 251, thereby generating a background component picture.

[0439] In step S210, the synthesis unit 253 outputs the foreground component picture. In step S211, the synthesis unit 255 outputs the background component picture, and the process is exited.

[0440] As described above, the foreground/background separation unit 105 is capable of separating foreground components and background components from an input picture, based on the area information and the mixing ratio α, and outputting a foreground component picture made up only of the foreground components and a background component picture made up only of the background components.

[0441] Next, an adjustment of the amount of motion blurring in the foreground component picture will be described.

[0442]FIG. 59 is a block diagram showing an example construction of the motion blurring adjustment unit 106. The motion vector and its position information supplied from the motion detection unit 102, and the area information supplied from the area specifying unit 103 are supplied to a processing unit decision unit 351 and to a modelling unit 352. The foreground component picture supplied from the foreground/background separation unit 105 is supplied to an addition unit 354.

[0443] The processing unit decision unit 351 supplies a generated processing unit to the modelling unit 352 together with the motion vector, based on the motion vector and its position information and on the area information. The processing unit decision unit 351 supplies the generated processing unit to the addition unit 354.

[0444] As indicated by A in FIG. 60, the processing unit generated by the processing unit decision unit 351 represents, for example, pixels contiguously arranged in the direction of motion, beginning from a pixel corresponding to the covered background area of the foreground component picture and up to a pixel corresponding to the uncovered background area, or pixels contiguously arranged in the direction of motion, beginning from a pixel corresponding to the uncovered background area and up to a pixel corresponding to the covered background area. The processing unit consists of, for example, data of an upper left point (the position of a pixel specified in the processing unit as located at the leftmost or the uppermost point in a picture) and a lower right point.

[0445] The modelling unit 352 executes a modelling based on the motion vector and the processing unit that has been input. More specifically, for example, the modelling unit 352 may prestore a plurality of models corresponding to the number of pixels included in the processing unit, the virtual split number of the pixel values along the temporal direction, and the number of foreground components for each pixel, selecting a model specifying the correspondence between the pixel values and the foreground components, as shown in FIG. 61, based on the processing unit and the virtual split number of the pixel values along the temporal direction.

[0446] For example, if the number of pixels corresponding to the processing unit is twelve and if the amount of movement v is five, the modelling unit 352 uses a virtual split number of five, and selects a model made up of eight foreground components in total, with the leftmost pixel including one foreground component, the second pixel from the left including two foreground components, the third pixel from the left including three foreground components, the fourth pixel from the left including four foreground components, the fifth pixel from the left including five foreground components, the sixth pixel from the left including five foreground components, the seventh pixel from the left including five foreground components, the eighth pixel from the left including five foreground components, the ninth pixel from the left including four foreground components, the tenth pixel from the left including three foreground components, the eleventh pixel from the left including two foreground components, and the twelfth pixel from the left including one foreground component.

[0447] Instead of selecting one from prestored models, the modelling unit 352 may generate a model based on the motion vector and the processing unit when the motion vector and the processing unit are supplied thereto.

[0448] The modelling unit 352 supplies the selected model to an equation generation unit 353.

[0449] The equation generation unit 353 generates an equation based on the model supplied from the modelling unit 352. With reference to a model of a foreground component picture shown in FIG. 61, an equation generated by the equation generation unit 353 when the number of foreground components is eight, the number of pixels corresponding to the processing unit is twelve, the amount of movement v is five, and the virtual split number is five will be described.

[0450] If the foreground components corresponding to a shutter time/v, included in the foreground component picture, are F01/v to F08/v, the relationships between the foreground components F01/v to F08/v and the pixel values C01 to C12 can be expressed by equations (33) to (44):

C01=F01/v  (33)

C02=F02/v+F01/v  (34)

C03=F03/v+F02/v+F01/v  (35)

C04=F04/v+F03/v+F02/v+F01/v  (36)

C05=F05/v+F04/v+F03/v+F02/v+F01/v  (37)

C06=F06/v+F05/v+F04/v+F03/v+F02/v  (38)

C07=F07/v+F06/v+F05/v+F04/v+F03/v  (39)

C08=F08/v+F07/v+F06/v+F05/v+F04/v  (40)

C09=F08/v+F07/v+F06/v+F05/v  (41)

C10=F08/v+F07/v+F06/v  (42)

C11=F08/v+F07/v  (43)

C12=F08/v  (44)

[0451] The equation generation unit 353 converts the generated equations to generate equations. The equations generated by the equation generating unit 353 are shown in equations (45) to (56):

C01=1·F01/v+0·F02/v+0·F03/v+0·F04/v+0·F05/v+0·F06/v+0·F07/v+0·F08/v  (45)

C02=1F01/v+1F02/v+0·F03/v+0·F04/v+0·F05/v+0·F06/v+0·F07/v+0·F08/v  (46)

C03=1F01/v+1F02/v+1F03/v+0·F04/v+0·F05/v+0·F06/v+0·F07/v+0·F08/v  (47)

C04=1F01/v+1F02/v+1F03/v+1F04/v+0·F05/v+0F06/v+0·F07/v+0·F08/v  (48)

C05=1F01/v+1F02/v+1F03/v+1F04/v+1F05/v+0F06/v+0·F07/v+0·F08/v  (49)

C06=0F01/v+1F02/v+1F03/v+1F04/v+1F05/v+1F06/v+0·F07/v+0·F08/v  (50)

C07=0F01/v+0·F02/v+1F03/v+1F04/v+1F05/v+1F06/v+1F07/v+0·F08/v  (51)

C08=0F01/v+0·F02/v+0·F03/v+1F04/v+1F05/v+1F06/v+1F07/v+1F08/v  (52)

C09=0F01/v+0·F02/v+0·F03/v+0·F04/v+1F05/v+1F06/v+1F07/v+1F08/v  (53)

C10=0F01/v+0·F02/v+0·F03/v+0·F04/v+0·F05/v+1F06/v+1F07/v+1F08/v  (54)

C11=0F01/v+0·F02/v+0·F03/v+0·F04/v+0·F05/v+0F06/v+1F07/v+1F08/v  (55)

C12=0F01/v+0·F02/v+0·F03/v+0·F04/v+0·F05/v+0F06/v+0·F07/v+1F08/v  (56)

[0452] Equations (45) to (56) can also be expressed as equation (57): $\begin{matrix} {{Cj} = {\sum\limits_{i = 01}^{08}\quad {{aij} \cdot {{Fi}/v}}}} & (57) \end{matrix}$

[0453] In equation (57), j indicates the position of a pixel. In this case, j has one of the values from 1 to 12. i denotes the position of a foreground value. In this example, i has one of the values from 1 to 8. aij has a value of 0 or 1 in accordance with the values of i and j.

[0454] Taking an error into consideration, equation (57) can be expressed as equation (58): $\begin{matrix} {{Cj} = {{\sum\limits_{i = 01}^{08}\quad {{aij} \cdot {{Fi}/v}}} + {ej}}} & (58) \end{matrix}$

[0455] In equation (58), ej is an error included in a pixel under consideration Cj.

[0456] Equation (58) can be rewritten as equation (59): $\begin{matrix} {{ej} = {{Cj} - {\sum\limits_{i = 01}^{08}\quad {{aij} \cdot {{Fi}/v}}}}} & (59) \end{matrix}$

[0457] In order to apply the least squares method, a sum of squares of errors E is defined as expressed in equation (60): $\begin{matrix} {E = {\sum\limits_{j = 01}^{12}\quad {e\quad j^{2}}}} & (60) \end{matrix}$

[0458] In order for the error to be minimized, the value of partial differentiation on the sum of squares of errors E with respect to a variable Fk must be zero. Fk is obtained so as to satisfy equation (61): $\begin{matrix} \begin{matrix} {\frac{\partial E}{\partial{Fk}} = {2 \cdot {\sum\limits_{j = 01}^{12}\quad {{ej} \cdot \frac{\partial{ej}}{\partial{Fk}}}}}} \\ {{= {2 \cdot {\sum\limits_{j = 01}^{12}\left\{ {{\left( {{Cj} - {\sum\limits_{i = 01}^{08}{{aij} \cdot {{Fi}/v}}}} \right) \cdot \left( {{- {akj}}/v} \right)} = 0} \right.}}}} \end{matrix} & (61) \end{matrix}$

[0459] Since the amount of movement v in equation (61) is a fixed value, equation (62) can be derived: $\begin{matrix} {{\sum\limits_{j = 01}^{12}{{akj} \cdot \left( {{Cj} - {\sum\limits_{i = 01}^{08}\quad {{aij} \cdot {{Fi}/v}}}} \right)}} = 0} & (62) \end{matrix}$

[0460] Expanding equation (62) and moving terms yields equation (63): $\begin{matrix} {{\sum\limits_{j = 01}^{12}\quad \left( {{akj} \cdot {\sum\limits_{i = 01}^{08}\quad {{aij} \cdot {Fi}}}} \right)} = {v \cdot {\sum\limits_{j = 01}^{12}\quad {{akj} \cdot {Cj}}}}} & (63) \end{matrix}$

[0461] Equation (63) is expanded into eight equations by assigning one of integers from 1 to 8, respectively. The resulting eight equations can be expressed by a single equation using a matrix. This equation is referred to as a normal equation.

[0462] An example of normal equation generated by the equation generation unit 353 based on the least squares method is shown in equation (64): $\begin{matrix} {{\begin{bmatrix} 5 & 4 & 3 & 2 & 1 & 0 & 0 & 0 \\ 4 & 5 & 4 & 3 & 2 & 1 & 0 & 0 \\ 3 & 4 & 5 & 4 & 3 & 2 & 1 & 0 \\ 2 & 3 & 4 & 5 & 4 & 3 & 2 & 1 \\ 1 & 2 & 3 & 4 & 5 & 4 & 3 & 2 \\ 0 & 1 & 2 & 3 & 4 & 5 & 4 & 3 \\ 0 & 0 & 1 & 2 & 3 & 4 & 5 & 4 \\ 0 & 0 & 0 & 1 & 2 & 3 & 4 & 5 \end{bmatrix}\begin{bmatrix} {F01} \\ {F02} \\ {F03} \\ {F04} \\ {F05} \\ {F06} \\ {F07} \\ {F08} \end{bmatrix}} = {v \cdot \begin{bmatrix} {\sum\limits_{i = 08}^{12}\quad {Ci}} \\ {\sum\limits_{i = 07}^{11}{Ci}} \\ {\sum\limits_{i = 06}^{10}{Ci}} \\ {\sum\limits_{i = 05}^{09}{Ci}} \\ {\sum\limits_{i = 04}^{08}{Ci}} \\ {\sum\limits_{i = 03}^{07}{Ci}} \\ {\sum\limits_{i = 02}^{06}{Ci}} \\ {\sum\limits_{i = 01}^{05}{Ci}} \end{bmatrix}}} & (64) \end{matrix}$

[0463] Representing equation (64) as A·F=v·C, C, A, and v are known, while F is unknown. A and v are known at the time of modelling, while C is known upon input of a pixel value in the addition operation.

[0464] By calculating the foreground components using the normal equation based on the least squares method, errors included in the pixel C can be deconcentrated.

[0465] The equation generation unit 353 sends the normal equation thus generated to the addition unit 354.

[0466] Based on the processing unit supplied from the processing unit decision unit 351, the addition unit 354 sets the pixel values C, included in the foreground component picture, in the matrix equation supplied from the equation generation unit 353. The addition unit 354 supplies the matrix with the pixel values C set therein to the calculation unit 355.

[0467] The calculation unit 355 calculates foreground components Fi/v that are cleared of motion blurring, by a process based on a solving method such as the sweep-out method (Gauss-Jordan elimination method), obtaining Fi corresponding to one of the integers 0 to 8 of i, which constitutes a pixel value of the foreground cleared of motion blurring. The calculation unit 355 outputs a foreground component picture cleared of motion blurring, made up of pixel values Fi cleared of motion blurring, for example, as shown in FIG. 62, to a motion blurring addition unit 356 and to a selection unit 357.

[0468] Although F01 to F08 are set respectively to C03 to C10 in the foreground component picture shown in FIG. 62, cleared of motion blurring, so that the position of the foreground component picture is not changed relative to the screen, the position may be arbitrary.

[0469] The motion blurring addition unit 356 is capable of adjusting the amount of motion blurring with an amount of motion blurring adjustment v′, which is different from the amount of movement v, for example, an amount of motion blurring adjustment v′ that is one half the amount of movement v, or an amount of motion blurring adjustment v′ that is irrelevant to the amount of movement v. For example, as shown in FIG. 63, the motion blurring addition unit 356 divides the pixel values Fi of the foreground cleared of motion blurring by the amount of motion blurring adjustment v′, calculating foreground components Fi/v′, and sums the foreground components Fi/v′ to obtain pixel values adjusted as to the amount of motion blurring. For example, if the amount of motion blurring adjustment v′ is three, the pixel value C02 is set to (F01)/v′, the pixel value C03 is set to (F01+F02)/v′, the pixel value C04 is set to (F01+F02+F03)/v′ and the pixel value C05 is set to (F02+F03+F04)/v′.

[0470] The motion blurring addition unit 356 supplies the foreground component picture that has been adjusted as to the amount of motion blurring to the selection unit 357.

[0471] Based on a selection signal in accordance with, for example, a selection by the user, the selection unit 357 selects either the foreground component picture cleared of motion blurring, supplied from the calculation unit 355, or the foreground component picture adjusted as to the amount of motion blurring, supplied from the motion blurring addition unit 356, outputting the selected foreground component picture.

[0472] As described above, the motion blurring adjustment unit 106 is capable of adjusting the amount of motion blurring based on the selection signal and the amount of motion blurring adjustment v′.

[0473] Furthermore, for example, if the number of pixels associated with the processing unit is eight and if the amount of movement v is four, as shown in FIG. 64, the motion blurring adjustment unit 106 generates a matrix equation shown in equation (65): $\begin{matrix} {{\begin{bmatrix} 4 & 3 & 2 & 1 & 0 \\ 3 & 4 & 3 & 2 & 1 \\ 2 & 3 & 4 & 3 & 2 \\ 1 & 2 & 3 & 4 & 3 \\ 0 & 1 & 2 & 3 & 4 \end{bmatrix}\begin{bmatrix} {F01} \\ {F02} \\ {F03} \\ {F04} \\ {F05} \end{bmatrix}} = {v \cdot \begin{bmatrix} {\sum\limits_{i = 05}^{08}\quad {Ci}} \\ {\sum\limits_{i = 04}^{07}{Ci}} \\ {\sum\limits_{i = 03}^{06}{Ci}} \\ {\sum\limits_{i = 02}^{05}{Ci}} \\ {\sum\limits_{i = 01}^{04}{Ci}} \end{bmatrix}}} & (65) \end{matrix}$

[0474] As described above, the motion blurring adjustment unit 106 generates a number of equations corresponding to the length of the processing unit to calculate the pixel values Fi adjusted as to the amount of motion blurring. Similarly, for example, if the number of pixels included in the processing unit is one hundred, the motion blurring adjustment unit 106 generates one hundred equations corresponding to the one hundred pixels to calculate Fi.

[0475]FIG. 65 is a diagram showing another construction of the motion blurring adjustment unit 106. Parts that are the same as those shown in FIG. 59 are designated by the same numerals, and descriptions thereof will be omitted.

[0476] Based on the selection signal, a selection unit 361 supplies the input motion vector and its position signal directly to the processing unit decision unit 351 and to the modelling unit 352, or the selection unit 361 substitutes the magnitude of the motion vector with the amount of motion blurring adjustment v′ and supplies the motion vector and its position signal, in which the magnitude of the motion vector has been substituted with the amount of motion blurring adjustment v′, to the processing unit decision unit 351 and to the modelling unit 352.

[0477] Accordingly, the processing unit decision unit 351 to the calculation unit 355 of the motion blurring adjustment unit 106 in FIG. 65 are capable of adjusting the amount of motion blurring in accordance with the amount of movement v and the amount of motion blurring adjustment v′. For example, if the amount of movement v is five and the amount of motion blurring adjustment v′ is three, the processing unit decision units 351 to the calculation unit 355 of the motion blurring adjustment unit 106 in FIG. 65 executes calculations on the foreground component picture shown in FIG. 61, with an amount of movement v of five, according to the model shown in FIG. 63, associated with an amount of motion blurring adjustment v′ of three, thereby calculating a picture including motion blurring in accordance with the amount of movement v of (amount of movement v)/(amount of motion blurring adjustment v′)=5/3, that is, approximately 1.7. In this case, the picture thus calculated does not include motion blurring in accordance with the amount of movement v of three.

[0478] As described above, the motion blurring adjustment unit 106 generates an equation in accordance with the amount of movement v and the processing unit and sets the pixel values of the foreground component picture in the generated equation to calculate a foreground component picture adjusted as to the amount of motion blurring.

[0479] Next, a process for adjusting the amount of motion blurring in the foreground component picture by the motion blurring adjustment unit 106 will be described with reference to a flowchart in FIG. 66.

[0480] In step S251, the processing unit decision unit 351 of the motion blurring adjustment unit 106 generates a processing unit based on the motion vector and the area information, and supplies the generated processing unit to the modelling unit 352.

[0481] In step S252, the modelling unit 352 of the motion blurring adjustment unit 106 selects or generates a model in accordance with the amount of movement v and the processing unit. In step S253, the equation generation unit 353 generates a normal equation based on the selected model.

[0482] In step S254, the addition unit 354 sets the pixel values of the foreground component picture in the generated normal equation. In step S255, the addition unit 354 determines whether the pixel values of all the pixels associated with the processing unit have been set. If it is determined that the pixel values of all the pixels associated with the processing unit have not been set, the process returns to step S254, repeating the process for setting pixel values in the normal equation.

[0483] If it is determined in step S255 that the pixel values of all the pixels in the processing unit have been set, the process proceeds to step S256, in which the calculation unit 355 calculates the pixel values of the foreground adjusted as to the amount of motion blurring, based on the normal equation with pixel values set therein, supplied from the addition unit 354, and the process is exited.

[0484] As described above, the motion blurring adjustment unit 106 is capable of adjusting the amount motion blurring in a foreground picture including motion blurring, based on the motion vector and the area information.

[0485] That is, the motion blurring adjustment unit 106 is capable of adjust the amount of motion blurring in the pixel values of sample data.

[0486] The construction of the motion blurring adjustment unit 106 shown in FIG. 59 is only an example, and the construction is not limited thereto.

[0487] As described above, the signal processor 12 having the construction shown in FIG. 4 is capable of adjusting the amount of motion blurring included in the input picture. The signal processor 12 having the construction shown in FIG. 4 is capable of calculating the mixing ratio α that is buried and outputting the mixing ratio α thus calculated.

[0488]FIG. 67 is a block diagram showing another implementation of the functions of the signal processor 12.

[0489] Parts that are the same as those shown in FIG. 4 are designated by the same numerals, and descriptions thereof will be omitted as appropriate.

[0490] The area specifying unit 103 supplies the area information to the mixing ratio calculating unit 104 and to a synthesis unit 371.

[0491] The mixing ratio calculating unit 104 supplies the mixing ratio α to the foreground/background separation unit 105 and to the synthesis unit 371.

[0492] The foreground/background separation unit 105 supplies the foreground component picture to the synthesis unit 371.

[0493] Based on the mixing ratio α supplied from the mixing ratio calculating unit 104 and the area information supplied from the area specifying unit 103, the synthesis unit 371 synthesizes an arbitrary background picture and the foreground component picture supplied from the foreground/background separation unit 105, outputting a synthesized picture in which the arbitrary background picture and the foreground component picture are synthesized.

[0494]FIG. 68 shows a construction of the synthesis unit 371. A background component generation unit 381 generates a background component picture based on the mixing ratio α and an arbitrary background picture, and supplies it to a mixed area picture synthesis unit 382.

[0495] The mixed area picture synthesis unit 382 synthesizes the background component picture supplied from the background component generation unit 381 and the foreground component picture to generate a mixed area synthesized picture, and supplies it to a picture synthesis unit 383.

[0496] Based on the area information, the picture synthesis unit 383 synthesizes the foreground component picture, the mixed area synthesized picture supplied from the mixed area picture synthesis unit 382, and the arbitrary background picture to generate and output a synthesized picture.

[0497] As described above, the synthesis unit 371 is capable of synthesizing the foreground component picture with an arbitrary background picture.

[0498] The picture obtained by synthesizing the foreground component picture with an arbitrary background picture based on the mixing ratio α as a characteristic amount is more natural than a picture obtained simply by synthesizing the pixels.

[0499]FIG. 69 is a block diagram showing yet another implementation of the functions of the signal processor 12, which adjusts the amount of motion blurring. As opposed to the signal processor 12 shown in FIG. 4, which specifies areas and calculates mixing ratios α in a serial manner, the signal processor 12 shown in FIG. 69 specifies areas and calculates mixing ratios α in a parallel manner.

[0500] Functions that are the same as those shown in the block diagram in FIG. 4 are designated by the same numerals, and descriptions thereof will be omitted.

[0501] The input picture is supplied to a mixing ratio calculating unit 401, a foreground/background separation unit 402, the area specifying unit 103, and to the object extraction unit 101.

[0502] Based on the input picture, the mixing ratio calculating unit 401 calculates, for each of the pixels included in the input picture, an estimated mixing ratio with an assumption that the pixel belongs to a covered background area, and an estimated mixing ratio with an assumption that the pixel belongs to an uncovered background area, and supplies the estimated mixing ratio with an assumption that the pixel belongs to a covered background area and the estimated mixing ratio with an assumption that the pixel belongs to an uncovered background area, thus calculated, to the foreground/background separation unit 402.

[0503]FIG. 70 is a block diagram showing an example construction of the mixing ratio calculating unit 401.

[0504] An estimated mixing ratio processor 201 shown in FIG. 70 is the same as the estimated mixing ratio processor 201 shown in FIG. 40. An estimated mixing ratio processor 202 shown in FIG. 70 is the same as the estimated mixing ratio processor 202 shown in FIG. 40.

[0505] The estimated mixing ratio processor 201 calculates, based on the input picture, an estimated mixing ratio for each of the pixels by a calculations corresponding to the model associated with covered background area, outputting the estimated mixing ratio thus calculated.

[0506] The estimated mixing ratio processor 202 calculates, based on the input picture, an estimated mixing ratio for each of the pixels by a calculations corresponding to the model associated with uncovered background area, outputting the estimated mixing ratio thus calculated.

[0507] Based on the estimated mixing ratio with an assumption that the pixel belongs to a covered background area, and the estimated mixing ratio with an assumption that the pixel belongs to an uncovered background area, supplied from the mixing ratio calculating unit 401, and on the area information supplied from the area specifying unit 103, the foreground/background separation unit 402 generates a foreground component picture from the input picture, and supplies the generated foreground component picture to the motion blurring adjustment unit 106 and to the selection unit 107.

[0508]FIG. 71 is a block diagram showing an example construction of the foreground/background separation unit 402.

[0509] Parts that are the same as those of the foreground/background separation unit 105 shown in FIG. 51 are designated by the same numerals, and descriptions thereof will be omitted.

[0510] Based on the area information supplied from the area specifying unit 103, a selection unit 421 selects either the estimated mixing ratio with an assumption that the pixel belongs to a covered background area, or the estimated mixing ratio with an assumption that the pixel belongs to an uncovered background area, supplied from the mixing ratio calculating unit 401, and supplies the selected estimated mixing ratio to a separation unit 251 as the mixing ratio α.

[0511] Based on the mixing ratio α and the area information, supplied from the selection unit 421, the separation unit 251 extracts foreground components and background components from the pixel values of pixels belonging to the mixed area, and supplies the extracted foreground components to the synthesis unit 253 and the background components to the synthesis unit 255.

[0512] The separation unit 251 may be constructed as shown in FIG. 56.

[0513] The synthesis unit 253 synthesizes and outputs a foreground component picture. The synthesis unit 255 synthesizes and outputs a background component picture.

[0514] The motion blurring adjustment unit 106 shown in FIG. 69 may be constructed as shown in FIG. 4. The motion blurring adjustment unit 106, based on the area information and the motion vector, adjusts the amount of motion blurring included in the foreground component picture supplied from the foreground/background separation unit 402, outputting the foreground component picture adjusted as to the amount of motion blurring.

[0515] The selection unit 107 shown in FIG. 69, based on a selection signal, for example, in accordance with a selection by the user, selects either the foreground component picture supplied from the foreground/background separation unit 402 or the foreground component picture adjusted as to the amount of motion blurring, supplied from the motion blurring adjustment unit 106, outputting the selected foreground component picture.

[0516] As described above, the signal processor 12 having the construction shown in FIG. 69 is capable of adjusting the amount of motion blurring included picture corresponding to a foreground object included in the input picture, and outputting the result. The signal processor 12 having the construction shown in FIG. 69 is capable of calculating the mixing ratio α that is buried, and outputting the mixing ratio α thus calculated, similarly to the first embodiment.

[0517]FIG. 72 is a block diagram showing another implementation of the functions of the signal processor 12, which synthesizes the foreground component picture with an arbitrary background picture. As opposed to the signal processor 12 shown in FIG. 67, which specifies areas and calculates mixing ratios α in a serial manner, the signal processor 12 shown in FIG. 72 specifies areas and calculates mixing ratios α in a parallel manner.

[0518] Functions that are the same as those shown in the block diagram in FIG. 69 are designated by the same numerals, and descriptions thereof will be omitted.

[0519] Based on the input picture, the mixing ratio calculating unit 401 shown in FIG. 72 calculates, for each of the pixels included in the input picture, an estimated mixing ratio with an assumption that the pixel belongs to a covered background area and an estimated mixing ratio with an assumption that the pixel belongs to an uncovered background area, and supplies the estimated mixing ratio with an assumption that the pixel belongs to a covered background area and the estimated mixing ratio with an assumption that the pixel belongs to an uncovered background area, thus calculated, to the foreground/background separation unit 402 and to a synthesis unit 431.

[0520] Based on the estimated mixing ratio with an assumption that the pixel belongs to a covered background area and the estimated mixing ratio with an assumption that the pixel belongs to an uncovered background area, supplied from the mixing ratio calculating unit 401, and on the area information supplied from the area specifying unit 103, the foreground/background separation unit 402 shown in FIG. 72 generates a foreground component picture from the input picture, and supplies the generated foreground component picture to the synthesis unit 431.

[0521] Based on the estimated mixing ratio with an assumption that the pixel belongs to a covered background area and the estimated mixing ratio with an assumption that the pixel belongs to an uncovered background area, supplied from the mixing ratio calculating unit 401, and on the area information supplied from the area specifying unit 103, the synthesis unit 431 synthesizes an arbitrary background picture and the foreground component picture supplied from the foreground/background separation unit 402, outputting a synthesized picture in which the arbitrary background picture and the foreground component picture are synthesized.

[0522]FIG. 73 shows a construction of the synthesis unit 431. Functions that are the same as those shown in the block diagram in FIG. 68 are designated by the same numerals, and descriptions thereof will be omitted.

[0523] Based on the area information supplied from the area specifying unit 103, a selection unit 441 selects either the estimated mixing ratio with an assumption that the pixel belongs to a covered background area or the estimated mixing ratio with an assumption that the pixel belongs to an uncovered background area, supplied from the mixing ratio calculating unit 401, outputting the selected estimated mixing ratio to a background component generation unit 381 as the mixing ratio α.

[0524] Based on the mixing ratio α supplied from the selection unit 441 and an arbitrary background picture, the background component generation unit 381 shown in FIG. 73 generates a background component picture, and supplies it to the mixed area picture synthesis unit 382.

[0525] The mixed area picture synthesis unit 382 shown in FIG. 73 synthesizes the background component picture supplied from the background component generation unit 381 with the foreground component picture to generate a mixed area synthesized picture, and supplies the generated mixed area synthesized picture to the picture synthesis unit 383.

[0526] Based on the area information, the picture synthesis unit 383 synthesizes the foreground component picture, the mixed area synthesized picture supplied from the mixed area picture synthesis unit 382, and an arbitrary background picture, generating and outputting a synthesized picture.

[0527] As described above, the synthesis unit 431 is able to synthesize the foreground component picture with an arbitrary background picture.

[0528] Although the mixing ratio α has been described as representing a proportion of the background component included in a pixel value, it may represent a proportion of the foreground component included in a pixel value.

[0529] Although the direction of movement of an object constituting a foreground has been described as from left to right, obviously, the direction is not limited thereto.

[0530] The description has dealt with an example in which a picture of the real space having a three-dimensional space and time axis information is projected onto a time space having a two-dimensional space and time axis information using a video camera. However, the present invention is not limited to the example, and may be applied to correction of distortion caused by projection, extraction of significant information, or to a more natural synthesis of pictures, in a case where first information of a first, larger dimensions is projected onto second information of a second, smaller dimensions.

[0531] The sensor 11 is not limited to a CCD, and may also be a sensor implemented by a solid-state imaging device such as a BBD (Bucket Brigade Device), a CID (Charge Injection Device), and a CPD (Charge Priming Device). The sensor 11 is neither limited to a sensor having a matrix of detection elements, and may also be a sensor having a line of detection elements.

[0532] As shown in FIG. 3, a recording medium having recorded thereon a program for executing the signal processing according to the present invention may be a package medium distributed to users for providing the program separately from a computer, including a magnetic disk 51 (including a floppy disk), an optical disk 52 (including a CD-ROM (Compact Disk-Read Only Memory) and a DVD (Digital Versatile Disk)), a magneto-optical disk 53(including an MD (Mini-disk)), and a semiconductor memory 54. The recording medium may also be a ROM 22 or a hard disk included in the storage unit 28, provided to users by being preinstalled on a computer having the program recorded thereon.

[0533] In this specification, the step of writing a program to be recorded on a recording medium includes not only processes executed sequentially in the described order, but also processes executed in parallel or individually without limitation to sequential processing.

Industrial Applicability

[0534] According to a first invention, a mixed area in which a plurality of objects is mixed can be detected.

[0535] According to a second invention, a mixed area in which a plurality of objects is mixed can be detected.

[0536] According to a third invention, a mixed area in which a plurality of objects is mixed can be detected. 

1. A picture processing apparatus for processing picture data made up of a predetermined number of pixel data acquired by an imaging device having the predetermined number of pixels each having a temporal integration effect, said picture processing apparatus comprising: background picture generation means for generating a background picture based on the picture data; correlation value detection means for detecting a correlation value between each pixel in picture data of a frame under consideration and a pixel in the background picture at a position corresponding to the pixel in the picture data of the frame under consideration; and mixed area detection means for detecting a mixed area in the frame under consideration, in which a plurality of real-world objects is mixed, based on a temporal change of the correlation value at each pixel position.
 2. A picture processing apparatus according to claim 1, wherein said correlation value detection means detects the correlation value based on pixels surrounding a pixel under consideration in the picture data of the frame under consideration and pixels in the background picture at positions corresponding to the surrounding pixels.
 3. A picture processing apparatus according to claim 1, wherein said correlation value detection means detects, as the correlation value, a differential value between pixels surrounding a pixel under consideration in the picture data of the frame under consideration and pixels in the background picture at positions corresponding to the surrounding pixels.
 4. A picture processing apparatus according to claim 1, further comprising binarization means for binarizing the correlation value by comparing the correlation value with a threshold value, wherein said mixed area detection means detects the mixed area in the frame under consideration based on the binarized correlation value.
 5. A picture processing apparatus according to claim 1, wherein said mixed area detection means further detects a covered background area or an uncovered background area based on a temporal change of the correlation value at each pixel position.
 6. A picture processing apparatus according to claim 1, further comprising mixing ratio detection means for detecting a mixing ratio by which the plurality of objects is mixed in the detected mixed area.
 7. A picture processing apparatus according to claim 6, further comprising separation means for separating the objects based on the mixed area and the mixing ratio.
 8. A picture processing apparatus according to claim 7, further comprising adjustment means for adjusting the amount of motion blurring included in the separated objects.
 9. A picture processing method for processing picture data made up of a predetermined number of pixel data acquired by an imaging device having the predetermined number of pixels each having a temporal integration effect, said picture processing method comprising: a background picture generation step for generating a background picture based on the picture data; a correlation value detection step for detecting a correlation value between each pixel in picture data of a frame under consideration and a pixel in the background picture at a position corresponding to the pixel in the picture data of the frame under consideration; and a mixed area detection step for detecting a mixed area in the frame under consideration, in which a plurality of real-world objects is mixed, based on a temporal change of the correlation value at each pixel position.
 10. A recording medium having recorded thereon a computer-readable picture processing program for processing picture data made up of a predetermined number of pixel data acquired by an imaging device having the predetermined number of pixels each having a temporal integration effect, said picture processing program comprising: a background picture generation step for generating a background picture based on the picture data; a correlation value detection step for detecting a correlation value between each pixel in picture data of a frame under consideration and a pixel in the background picture at a position corresponding to the pixel in the picture data of the frame under consideration; and a mixed area detection step for detecting a mixed area in the frame under consideration, in which a plurality of real-world objects is mixed, based on a temporal change of the correlation value at each pixel position.
 11. A picture processing apparatus for processing picture data made up of a predetermined number of pixel data acquired by an imaging device having the predetermined number of pixels each having a temporal integration effect, said picture processing apparatus comprising: background picture generation means for generating a background picture based on the picture data; correlation value detection means for detecting a correlation value between each pixel in picture data of each frame and a pixel in the background picture at a position corresponding to the pixel in the picture data of the frame; motion compensation means for motion-compensating, based on a motion vector of a frame in the vicinity of a frame under consideration, the correlation value of the frame in the vicinity of the frame under consideration; accumulation means for accumulating the correlation value of the frame under consideration and the correlation value of the frame in the vicinity of the frame under consideration, having been motion-compensated by said motion compensation means; and mixed area detection means for detecting a mixed area in the frame under consideration, in which a plurality of real-world objects is mixed, based on a temporal change of an output of said accumulation means at each pixel position.
 12. A picture processing apparatus according to claim 11, further comprising motion vector detection means for detecting the motion vector.
 13. A picture processing apparatus according to claim 11, wherein said correlation value detection means detects the correlation value based on pixels surrounding a pixel under consideration in the picture data of the frame under consideration and pixels in the background picture at positions corresponding to the surrounding pixels.
 14. A picture processing apparatus according to claim 11, wherein said correlation value detection means detects, as the correlation value, a differential value between pixels surrounding a pixel under consideration in the picture data of the frame under consideration and pixels in the background picture at positions corresponding to the surrounding pixels.
 15. A picture processing apparatus according to claim 11, further comprising binarization means for binarizing the correlation value by comparing the correlation value with a threshold value; and weighting means for weighting the binarized correlation value; wherein said motion compensation means motion-compensates the binarized correlation value in the frame in the vicinity of the frame under consideration, and said accumulation means accumulates the correlation value of the frame in the vicinity of the frame under consideration, having been motion-compensated and weighted.
 16. A picture processing apparatus according to claim 11, wherein said mixed area detection means further detects a covered background area or an uncovered background area based on a temporal change of the correlation value at each pixel position.
 17. A picture processing apparatus according to claim 11, further comprising mixing ratio detection means for detecting a mixing ratio by which the plurality of objects is mixed in the detected mixed area.
 18. A picture processing apparatus according to claim 17, further comprising separation means for separating the objects based on the mixed area and the mixing ratio.
 19. A picture processing apparatus according to claim 18, further comprising adjustment means for adjusting the amount of motion blurring included in the separated objects.
 20. A picture processing method for processing picture data made up of a predetermined number of pixel data acquired by an imaging device having the predetermined number of pixels each having a temporal integration effect, said picture processing method comprising: a background picture generation step for generating a background picture based on the picture data; a correlation value detection step for detecting a correlation value between each pixel in picture data of each frame and a pixel in the background picture at a position corresponding to the pixel in the picture data of the frame; a motion compensation step for motion-compensating, based on a motion vector of a frame in the vicinity of a frame under consideration, the correlation value of the frame in the vicinity of the frame under consideration; an accumulation step for accumulating the correlation value of the frame under consideration and the correlation value of the frame in the vicinity of the frame under consideration, having been motion-compensated in said motion compensation step; and a mixed area detection step for detecting a mixed area in the frame under consideration, in which a plurality of real-world objects is mixed, based on a temporal change of an output in said accumulation step at each pixel position.
 21. A recording medium having recorded thereon a computer-readable picture processing program for processing picture data made up of a predetermined number of pixel data acquired by an imaging device having the predetermined number of pixels each having a temporal integration effect, said picture processing program comprising: a background picture generation step for generating a background picture based on the picture data; a correlation value detection step for detecting a correlation value between each pixel in picture data of each frame and a pixel in the background picture at a position corresponding to the pixel in the picture data of the frame; a motion compensation step for motion-compensating, based on a motion vector of a frame in the vicinity of a frame under consideration, the correlation value of the frame in the vicinity of the frame under consideration; an accumulation step for accumulating the correlation value of the frame under consideration and the correlation value of the frame in the vicinity of the frame under consideration, having been motion-compensated in said motion compensation step; and a mixed area detection step for detecting a mixed area in the frame under consideration, in which a plurality of real-world objects is mixed, based on a temporal change of an output in said accumulation step at each pixel position.
 22. An imaging apparatus comprising: imaging means for outputting, as picture data made up of a predetermined number of pixel data, a picture of a target captured by an imaging device having the predetermined number of pixels each having a temporal integration effect; background picture generation means for generating a background picture based on the picture data; correlation value detection means for detecting a correlation value between each pixel in picture data of a frame under consideration and a pixel in the background picture at a position corresponding to the pixel in the picture data of the frame under consideration; and mixed area detection means for detecting a mixed area in the frame under consideration, in which a plurality of real-world objects is mixed, based on a temporal change of the correlation value at each pixel position.
 23. An imaging apparatus according to claim 22, wherein said correlation value detection means detects the correlation value based on pixels surrounding a pixel under consideration in the picture data of the frame under consideration and pixels in the background picture at positions corresponding to the surrounding pixels.
 24. An imaging apparatus according to claim 22, wherein said correlation value detection means detects, as the correlation value, a differential value between pixels surrounding a pixel under consideration in the picture data of the frame under consideration and pixels in the background picture at positions corresponding to the surrounding pixels.
 25. An imaging apparatus according to claim 22, further comprising binarization means for binarizing the correlation value by comparing the correlation value with a threshold value, wherein said mixed area detection means detects the mixed area in the frame under consideration based on the binarized correlation value.
 26. An imaging apparatus according to claim 22, wherein said mixed area detection means further detects a covered background area or an uncovered background area based on a temporal change of the correlation value at each pixel position.
 27. An imaging apparatus according to claim 22, further comprising mixing ratio detection means for detecting a mixing ratio by which the plurality of objects is mixed in the detected mixed area.
 28. An imaging apparatus according to claim 27, further comprising separation means for separating the objects based on the mixed area and the mixing ratio.
 29. An imaging apparatus according to claim 28, further comprising adjustment means for adjusting the amount of motion blurring included in the separated objects. 